+ 2

How to get users input in java? In diffrent methods .please help

21st Mar 2018, 6:19 AM
Sai Shreyas
Sai Shreyas - avatar
2 Answers
+ 3
use Scanner s=new Scanner(system.in); String msg=s.next();
21st Mar 2018, 6:52 AM
Pavan Kumar T S
Pavan Kumar T S - avatar
21st Mar 2018, 1:17 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar