Computer Science, asked by Dhananjay2768, 1 year ago

How to run a java program using command prompt?

Answers

Answered by D33PANWAR1
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