hello world


Java hello world program

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



Save:                              HelloWorld.java
Compile:                       javac  HelloWorld.java
Run:                               java  HelloWorld


Expected output:
                                           Hello World



EmoticonEmoticon