What is implementation inheritance and interface inheritance
implementation inheritance | interface inheritance |
---|---|
When a class is derived from another class in such a way that it will inherit all its member from its corresponding base class, then it is implementation inheritance. | When a class inherits only the signature of the functions from its corresponding base class, then it is interface inheritance. |