 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
If
we examine the previous class,
|
|
|
|
• |
notice
that classes are really very similar to
|
|
|
structures
|
|
|
|
• |
a
class is simply a generalized structure
|
|
|
|
• |
in
fact, even though we may not have used
|
|
|
structures
in this way...
|
|
|
|
• |
Structures and Classes are 100% identical
|
|
except
for their default conditions...
|
|
|
|
• |
by
default, all members in a structure are available for
|
|
|
use
by clients (e.g., main programs); they are public
|
|