Answer:
• When a class is derived from another class in such a way that it will inherit all its members to its corresponding derived class, then it is implementation inheritance.
• When a class inherits only the signatures of the functions from its corresponding base class, then it is interface inheritance.
Asked In: Many Interviews |
Alert Moderator