+ 1

How can i in put a number from keyboard in java?

20th Feb 2018, 12:03 PM
NZABAHERAHEZA Jean Claude
4 Answers
+ 3
create an object from scanner class.... Scanner myScanner =new Scanner (System.in); int mynumber = myScanner.nextInt():
20th Feb 2018, 12:06 PM
Farshaad Heydari
Farshaad Heydari - avatar
+ 1
thank you
26th Apr 2018, 10:39 AM
NZABAHERAHEZA Jean Claude
0
thank you
21st Feb 2018, 11:42 AM
NZABAHERAHEZA Jean Claude