OO Programming with Java


Hello World !

This is a first/simple example of a Java program.

  1. Take an editor and make a new file called Hello.java with the following code:
public class Hello {
  public static void main(String args[]) {
    System.out.println("Hello World !");
  }
}

3 - 17