Type Here to Get Search Results !

Run Java Program On CMD


 Run Java Program On CMD-Format  OF Java Program

 First Step-open notepad

Second Step-write program 

class Nimajava{

public static void main(String[]args)[

system.out.println("nimajava is basic");



Third Step-Save this file with the class name , here the file name is Nimajava and you have to save with the .java extension, so the file name will be Nimajava.java.

The fourth step-open the file path of this file and type the cmd and enter

Fifth step-TYPE javac Nimajava.java press enter and again type java Nimajava and pres  enter result will come 


Post a Comment