The Simplest Java Application: Hello,World!
Since Java is object-oriented, programs are organized into modules called classes, which may have data in variables called fields, and subroutines called methods.
public static void main (String[] args) {
System.out.println(“Hello World!”);
Each program is enclosed in a class definition.
main() is the first method that is run.
The notation class.method or package.class.method is how to refer to a public method (with some exceptions).
Syntax is similar to C - braces for blocks, semicolon after each statement.