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
Write a sample code to write the contents to text file in c#?
Define acid rule of thumb for transactions in c#.
What does void do in unity?
Why do we need nullable types in c#?
Explain the difference between .net and c#?
What is file extension of webservices?
without modifying source code if we compile again, will it be generated MSIL again?
what are the contents of an assembly ?
What sort algorithm does c# use?
How many root nodes are there in an xml document?
Is php better than c#?
Is is possible to force garbage collector to run?
Is overriding of a function possible in the same class?
Is lazy t thread safe?
What are the types of parameters in c#?