How to run a java program using command prompt?
Answers
Answered by
0
The code written in Notepad is correct. It is okay. You have to write forcompiling : javac filename.java and forrunning: just filename. Once you are in the correct directory, you can compile the program by typing "javac filename.java" into the command lineand pressing enter.
Similar questions