In the solution to the previous exercise, change the access specifier for the who() member of the base class back to public and implement the who() function as a member of each derived class so that the output message also identifies the name of the class. Change main() to call the base class and derived class versions of who() for each of the derived class objects.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here