 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
OO programs are
made up of objects
|
|
|
|
– |
An object
packages both data and operations
|
|
on that data
|
|
|
|
– |
An object's
operations are called methods
|
|
|
|
– |
An object's
implementation is defined by its
|
|
|
class
|
|
|
|
– |
New classes can
be defined using existing
|
|
|
classes through inheritance
|
|