/**
 * The HelloWorld class implements an application that
 * simply prints "Hello World!" to standard output.
 */
class HelloWorld {
    public static void main(String[] args) {

        //
        // Print : Hello World!
        //
        System.out.println("Hello World!"); 
        
    }
}

Create HelloWorld.java