First Hello World Program in Java




This video explains how to write your very first program in java.

You will learn How to create a new project in eclipse, how to create a package and a class file.
Tutorial also explains how to create a class i.e the syntax of creating a class, what are methods, how to create a main method inside a class, How to print some text to the screen and also How to run a java program in detail.

Source code for this tutorial.

package LearningJava;

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