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
Which is faster dictionary or list?
How would you describe encapsulation in c#?
can you declare an override method to be static if the original method is not static?
Why singleton is sealed?
Is it possible to force garbage collector to run?
Is c# or c++ better for games?
What is the difference between delegates and events in c#?
What do you mean by jagged array?
Can a struct inherit from another struct or class in c#?
Can you use foreach iteration on arrays in c#?
Can abstract class have parameterized constructor?
Why are c# strings immutable?
What is a di class?
What is assembly manifest?
Explain About multi level and multiple inheritance how to achieve in .net