Bloomberg Interview Question

What is private inheritance? Why is it useful? Is it different from containment?

Interview Answer

Anonymous

Jun 8, 2010

When you inherit a class with private access specifier where all the public and protected members of base class gets derived as private in derived class. It is different from containment.