0

Can anyone explain how to get a user input in JAVA

7th Mar 2022, 2:48 PM
Raman
Raman - avatar
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”)
7th Mar 2022, 2:55 PM
Brave Tea
Brave Tea - avatar
+ 3
Check lesson 5.1 in Java course of Sololearn.
7th Mar 2022, 2:58 PM
kev_coding
kev_coding - avatar