Thursday 26 February 2015

Java

Class
For now it is enough to know that every application begins with a class definition

/**
 * The HelloWorldApp class implements an application that
 * simply prints "Hello World!" to standard output.
 */
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}
 

No comments:

Post a Comment