filmov
tv
Java Tutorial #5: (Scanner) Reading User Input From Console Into Variables

Показать описание
Notes:
You can use
nextByte() - reads an integer of the byte type
nextShort() - short type
nextInt() - int type
nextLong() long type
nextFloat() float type
Hey Guys,
In this tutorial we learn how to take user input from the console and store in a variable which we can then use in our program.
You can use
nextByte() - reads an integer of the byte type
nextShort() - short type
nextInt() - int type
nextLong() long type
nextFloat() float type
Hey Guys,
In this tutorial we learn how to take user input from the console and store in a variable which we can then use in our program.