+ 1
How can i in put a number from keyboard in java?
4 Answers
+ 12
Create Scanner class availabe in util package.
https://www.sololearn.com/learn/Java/2220/?ref=app
https://www.sololearn.com/learn/Java/2187/?ref=app
https://code.sololearn.com/cHTr8m85prKh/?ref=app
+ 3
create an object from scanner class....
Scanner myScanner =new Scanner (System.in);
int mynumber = myScanner.nextInt():
+ 1
thank you
0
thank you