Explain how in a public inheritance, the members of the base class are inherited by a derived class. (8)
Explain the difference between the private and protected members of a class. (8)
Explain the difference between the protected and public members of a class. (8)
Assume the declaration of Exercise 24. (8)
a. Write the statements that derive the class myClass from class base as a protected inheritance.
b. Determine which members of class base are private, protected, and public in class myClass.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here