+ 12
How to convert scanner into int and string in java ??
int num1 = new Scanner (System.in); javac error: Scanner cannot be converted to Int Please help me with this one.
2 Answers
+ 10
thanks @Luka for this. It worked perfectly
int num1 = new Scanner (System.in); javac error: Scanner cannot be converted to Int Please help me with this one.