Class Structure

In Java, each program will always have at least one class, that being the class with the main method that runs the program based on the other code in the program, which as a general rule is written as follows:

In your other classes is where you can define new Objects, or Methods.