+ 2

How to get more than one input from the user in JavašŸ˜ƒšŸ‘

I need to take more input from the user please Tell me a replacement for scanner method(not too hard)

8th Apr 2020, 4:39 PM
Atoms~āš›
Atoms~āš› - avatar
1 Answer
+ 3
importĀ java. util.*; public class Test{ public static void main(String args[]){ Scanner ss = new Scanner(System. in); System. out. println("EnterĀ Input."); int x = ss. nextInt(); System. out. println("Enter Input1."); int y = ss. nextInt(); And go...... On
8th Apr 2020, 4:47 PM
Ayush Kumar
Ayush Kumar - avatar