Tag : Hello World

Hello World is the first program found in most programming books. Even a book was also written that has Hello World as part of it title (Hello World(s) — From Code to Culture: A 10 Year Celebration of Java Technology). We cannot have a website about Java without starting with the Hello World example.

Following is the classic Hello World program.

public class Main {
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}
Albert Attard
Author: 5 years ago