Discuss a situation in which the private derivation will be more appropriate as compared to public derivation
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When we want that the derived class has the direct access privilege only to the non-private members of the base class, in that situation the private derivation will be more appropriate as compared to public derivation.