How to Get User Input Using Java (Simple) (Strings and Numbers)
Max O'Didily
How to Get User Input Using Java (Simple)
Greetings, in this Java tutorial we shall be looking at how to get user input and how to print the user input to the screen.
We will be looking at how to get string user input and number user input using Java.
In Java, we cna get user input from the java scanner class. We cna use the scanner class to get user input as a string or as an integer (whole numbers).
So in this Java tutorial on how to get user input, we will ask the user for their name and their age. We will print out the user's name and their age. But, if the user is 69 years old, we will print out nice.
This tutorial is made for beginners to show user input, variables, printing out data and if statments. We will not cover validation.
Thanks for watching this Java tutorial on how to get user input using the scanner class.
Subscribe to keep notified when I upload: https://tinyurl.com/SubMaxODidily
How to Get User Input Using Java (Simple) ... https://www.youtube.com/watch?v=8JLsNYeqkPI
10170825 Bytes