adspace


How do you run a java program?

Answer Posted / Rohit Arora

To run a Java program, save your code in a .java file, compile it using 'javac followed by the filename' in the command line to generate a .class file, and then execute the .class file using 'java followed by the class name'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want test pattern of zylog company and some examples also

2869