+ 3

I can't understand the error of this code... Plz help

https://code.sololearn.com/c6n76vEQXAmD/?ref=app

16th Mar 2021, 5:14 AM
ŻÃЌĮЎÃ ŘÃĤϻÃŇ
ŻÃЌĮЎÃ ŘÃĤϻÃŇ - avatar
6 Antworten
+ 3
https://code.sololearn.com/c17WJNv0QMP3/?ref=app
16th Mar 2021, 5:33 AM
Atul [Inactive]
+ 3
Change it into Scanner scan=new Scanner (System.in);
16th Mar 2021, 5:31 AM
Atul [Inactive]
+ 3
This is the correct code
16th Mar 2021, 5:34 AM
Atul [Inactive]
+ 2
Don't forget ; after every statement in java
16th Mar 2021, 5:16 AM
Ayush Kumar
Ayush Kumar - avatar
+ 2
read the error message: ./Playground/Std.java:5: error: ';' expected Scanner myVar=new Scanner(System.in) ^
16th Mar 2021, 5:20 AM
John Doe
+ 1
Thanks a lot Atul
16th Mar 2021, 6:13 AM
ŻÃЌĮЎÃ ŘÃĤϻÃŇ
ŻÃЌĮЎÃ ŘÃĤϻÃŇ - avatar