Classes and Objects

An object is a container that holds variables and methods.

A class is a container that holds variable and method declarations.

A class can be used to construct objects.

Each object constructed from a class contains copies of the variables and methods declared by the class.

Packages contain classes.

See Account.java and TestAccount.java