 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Luckily,
with a constructor we can write a
|
|
|
|
function
to initialize our data members
|
|
|
|
• |
and
have it implicitly be invoked whenever a
|
|
|
|
client
creates an object of the class
|
|
|
| • |
The
constructor is a strange function, as it
|
|
|
has
the same name as the class, and no
|
|
|
|
return
type (at all...not even void).
|
|