+1 vote
in Class 12 by kratos

Discuss a situation in which the private derivation will be more appropriate as compared to public derivation

1 Answer

+5 votes
by kratos
 
Best answer

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.

...