+ 2
How to get users input in java? In diffrent methods .please help
2 Respostas
+ 3
use
Scanner s=new Scanner(system.in);
String msg=s.next();
+ 7
1. Scanner
2. Buffered Reader
https://code.sololearn.com/coI1Cf637yIq/?ref=app
https://code.sololearn.com/cJLii4tG0Htk/?ref=app