 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Therefore,
when we define a new data type with the
|
|
|
|
class
construct
|
|
|
|
• |
we
need to specify how much memory should be
|
|
|
|
set
aside for each variable (or object) of this type
|
|
|
|
• |
and,
we need to specify which operations make
|
|
|
|
sense
for this type of data (and then implement
|
|
|
|
them!!)
|
|
|
|
• |
and,
what operators makes sense (do be discussed
|
|
|
with operator
overloading)
|
|