0
Can anyone explain how to get a user input in JAVA
3 Answers
+ 5
Scanner keyboard = new Scanner(System.in);
And then you need use next.
Iâm not explaining more than that :)
If you want to know more you need to do the Java course here on SoloLearn (that or google on âScanner Javaâ)
+ 3
Check lesson 5.1 in Java course of Sololearn.