a) Getting Started

Program Structure

As we did earlier, we loaded up a simple program into the editor and got it to run. There was no attempt to understand or explain the code, we were just making sure the software was installed correctly.

This section will start to explain what the different portions of the code are actually required.

If you recall, we used the basic Hello World program


public class HelloWorld {
public static void main(String[] args) {
// Prints the phrase "Hello, World" to the console window.
System.out.println("Hello, World");
}
}


Package

Class

Main