This statement prints a line of text, "Hello World!" in the console window. This console window is represented in Java by an object called System.out. This object out is in the System class. Println method does the job of printing the text, "Hello World!".
b) or back to More about the main function
or
x) or out to Your First Java program