Difference between multi-level and multiple inheritance?
Answer Posted / anand
Multiple Inheritance:
One derived class can have more than one base class
Multilevel Inheritance:
One child class is derived from a base class which was derived from another base class.
Ex:
Multiple:
Class A Class B Class C
\ | /
\ | /
\ | /
-----------------------------
|
|
Class D [Derived class having mor e than one base class]
Multilevel:
Class A
|
|
|
Class B
|
|
|
Class C
Is This Answer Correct ? | 91 Yes | 9 No |
Post New Answer View All Answers
What is unmannaged code and will CLR handle this kind of code or not .
What is static void main in c#?
What do you mean by expression tree?
Why use a singleton instead of static methods?
Is it possible to have a static indexer in c#? Allowed in c#.
Name the method of servicebase class?
Explain what are three test cases you should go through in unit testing?
What are the properties of a string class?
How to force my .net app to run as administrator on windows 7?
What is a clr host?
Explain metadata in c#.
What is lazy loading c#?
What is Co- and Contra-Variance in C#?
What is the meaning of int parse in c#?
Can a method return multiple values in c#?