What is difference between interface inheritance and class
inheritance ?
Answer Posted / naag algates
1. Derived class can inherit from only one base class(because no multiple inheritance)
2. Base class(or any class) can inherit any number of interfaces.
3. Single class can support multiple interface and multiple class can support same interface.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Can we inherit private members of class in c#?
What is uint64_t?
what is the difference between convert.tostring() and tostring() functions ?
How do switch statements work?
What is difference between arraylist and list in c#?
What is wpf c#?
What does xpath return?
What is a dimensional array?
what is virtual method in c#?
What does int parse do in c#?
Is it not possible to store a boolean value as a variable?
What are the string functions in c#?
What is cosole application?
What are the three types of predicates?
What is the difference between namespace and class in c#?