Running Java Program from Command Prompt Complete Details




This video tutorial made by LearningLad explains how to run a java program from the command prompt.

You will learn how to write a simple java program, how to compile a java program using javac command, how to run the java program using java command in detail with example.

package LearningJava;

public class Hello{
 
public static void main(String [] args){
 
 System.out.println("Hello World");
 
} 
}
Back To Top