Class Definitions
Template
class class-name
{
declarations
}
Example:
class Account
{
int balance; // current balance
int deposits; // deposits to date
int withdrawals; // withdrawals to date
}
Declarations of a class define fields of the class that go together to make one thing
Each class is a type. Whereas int, double, and boolean are called primitive types, classes are not primitive types