Translate

Friday, August 31, 2012

What is difference between interface inheritance and class inheritance

interface inheritance is a misleading term. Interface inheritance would be equivalent to the union of the method signatures of interfaces ( no typo here, an interface may implment multiple other interfaces)

Class inheritance - single hierarchy (in C#), and not only the methods are inherited, but also the data members. (interface in C# cannot define data members)

No comments:

Post a Comment