+ 3
I can't understand the error of this code... Plz help
6 Respuestas
+ 3
https://code.sololearn.com/c17WJNv0QMP3/?ref=app
+ 3
Change it into Scanner scan=new Scanner (System.in);
+ 3
This is the correct code
+ 2
Don't forget ; after every statement in java
+ 2
read the error message:
./Playground/Std.java:5: error: ';' expected
Scanner myVar=new Scanner(System.in)
^
+ 1
Thanks a lot Atul