Assume the declaration of Exercise 24. (8)
a. Write the statements that derive the class dummyClass from class base as a private inheritance.
b. Determine which members of class base are private, protected, and public in class dummyClass.
Assume the declaration of Exercise 24. Suppose that class derived is derived from class base using the statement: (8)
class derived: base
{
}
a. What type of inheritance is this?
b. Determine which members of class base are private, protected, and public in class derived.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here