View Single Post
Old 11-06-2014, 02:39 AM   #5
johnstyle
Registered User
 
Join Date: Dec 2013
Posts: 327
Java program is run using command prompt. For running the file, save the file with.java extension. After this compile the file writing javac with filename. At the end, run the file type:
java filename
johnstyle is offline   Reply With Quote