Java Beginner Programming Tutorial 5 Getting User Input

preview_player
Показать описание
How to get user input in java
Комментарии
Автор

Thank you so much Anthony, finally I understand what scanner is for.

noukaddi
Автор

This is my problem..I mean I get no error but no effect as well, because when I run it, it is true that none of the stuff I coded shows up, but the line : BUILD SUCCESSFUL (total time: 0 seconds) shows up, and because of it I cannot type anything anywhere...Basically I can't input anything

kojax
Автор

thanks ! it was very simplified.
 But I have question: can we input other types of variable via scanner ?

ehssan
visit shbcf.ru