PPT Slide
We found that to use this class, we had to ‘declare an object’. “Declaring an object” really means declaring a reference to an object.”
A reference is an implict (or automatic) pointer that can point to an object of the specified class.
- does not create an object of class Box.
- does create a reference (or ptr) shoeBox that can point to an object of class Box.
- gives us what amounts to a ptr to a Box