 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Think
of a class as similar to a data type
|
|
|
|
• |
and
an object as a variable
|
|
|
| • |
And,
just as we can have zero or more
|
|
|
variables
of any data type...
|
|
|
|
• |
we
can have zero or more objects of a class!
|
|
|
| • |
Then,
we can perform operations on an
|
|
|
object
in the same way that we can access
|
|
members
of a struct...
|
|