Monday 6 July 2015

What is implementation inheritance and interface inheritance?

When a class is derived from another class in such a way that it will inherits all its member to its corresponding derived class then it is implementation inheritance.
When a class inherits only the signatures of the functions or methods from its corresponding base class, then it is called as interface inheritance.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.