0

hi. asking for help. i cant save .java in my notepad. tryna run it using cmd.

3rd Nov 2020, 9:34 AM
mahsa
mahsa - avatar
3 ответов
+ 9
1)Save your code in notepad by your *class* name. 2)You can save it on your desktop or any other directory..but .java extension is required. 3)Open cmd go to your required directory and type javac classname.java 4)If every thing was compiled crrtly then the cmd line moves to the next line. 5)Type classname.java and you must see your result.
3rd Nov 2020, 9:46 AM
Aditya
Aditya - avatar
+ 10
Your wlcm :D
3rd Nov 2020, 9:59 AM
Aditya
Aditya - avatar
+ 1
EnCoDeR thank youu so much ! 🥰 i found the problem
3rd Nov 2020, 9:57 AM
mahsa
mahsa - avatar