+ 1
Can we write Java programmes in note pad ?
3 Respostas
+ 11
Yes, we can! But notepad isn't actually a compiler, so it needs to be compiled through the command line.
https://www.google.co.in/amp/www.instructables.com/id/Use-Notepad-and-Command-Prompt-For-Java-programmin/%3famp_page=true
+ 7
Yes you can. Just remember to save it as a file with .java extension and its name should be the same as the name of the class. So if your program has a only one class named MainClass your java file should be saved as MainClass.java. After that you can compile it with the command >>javac MainClass.java
And after compilation you can run it with the command >> java MainClass
0
yes