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,...


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.




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here