Which of the following signifies implementation inheritance?
-
Public Inheritance
-
Protected Inheritance
-
Private Inheritance
-
Virtual Inheritance
C
Correct answer
Explanation
Private inheritance represents implementation inheritance in C++ because the base class's public and protected members become private in the derived class, hiding the implementation details from external users. This creates an 'is-implemented-in-terms-of' relationship rather than 'is-a' relationship. Public inheritance models interface inheritance (is-a relationship), while protected inheritance is rarely used.