Question: Overload operator= in your shape exercise from Chapter 8, Mastering Abstract Classes, or alternatively, overload operator= in your ongoing LifeForm/Person/Student classes as follows: Define operator=
Overload operator= in your shape exercise from Chapter 8, Mastering Abstract Classes, or alternatively, overload operator= in your ongoing LifeForm/Person/Student classes as follows:
Define operator= in shape (or LifeForm) and override this method in all of its derived classes. Hint: the derived implementation of operator=() will do more work than its ancestor, yet could call its ancestor's implementation to perform the base class part of the work.
Step by Step Solution
3.44 Rating (163 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
