|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Remember,
a class is simply a data type
|
|
|
| • |
It
corresponds to an “abstract data type” from CS163
|
|
|
| • |
So,
identify classes by looking for nouns
|
|
|
| • |
For
example, for a message system nouns are:
|
|
|
mailbox,
message, user, passcode, extension,
|
|
|
administrator,
mailsystem, menu
|
|
|
| • |
BUT,
just because you find “nouns” doesn’t mean
|
|
|
they
are good choices for your classes! And, you may
|
|
need
others that provide functionality behind the
|
|
|
scenes
|
|
|
|