Types of Programs
Java is fully object-oriented.
Every “function” has to be attached to a class.
You will mainly deal with three types of programs:
- class: methods and data (variables + constants) describing a collection (type) of object
- application: class that has a main method: represents a our regular program
- applet: class that is meant for execution using a appletviewer/browser