0

How to open the saved. Java file in command prompt?

15th Aug 2016, 2:32 AM
Allauddin Khan
Allauddin Khan - avatar
3 Réponses
+ 1
you compile it first with: javac FileName.java run with: java FileName Each time you make a change to the file, you'll need to recompile
15th Aug 2016, 4:12 AM
James
James - avatar
0
type .java in command prompt
15th Aug 2016, 4:08 AM
Aquarius
Aquarius - avatar
0
you just need to write file name in the command prompt with extension .java. file will be open. and for compilation and execution of that file you have to use these commands compile: javac filename.java run : java filename
15th Aug 2016, 6:53 AM
AKSHAY MALVIYA
AKSHAY MALVIYA - avatar