 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Objects
permit certain operations and do not support
|
|
|
others
|
|
|
| • |
OO
programs contain statements in which objects are
|
|
asked
to carry out certain operations
|
|
|
| • |
It is
possible for two or more objects to support the
|
|
|
same
operations and to have the same state, yet to be
|
|
|
different
from each other – each object has its own
|
|
|
identity
|
|
|
| • |
A
class then describes a collection of related objects
|
|
|
| • |
Question:
Consider a word processor. Find at least
|
|
|
five
classes of objects that it manipulates.
|
|