Goals of Aggregation
Understandability: a way to group variables into a new abstraction that makes their relationship to one another explicit
- Such an abstraction is called a class
- Example: the class Account
Scalability: a way to create multiple instances of the abstraction
- Each instance of the abstraction is called an object
- Example: account1 and account2