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 the task perform by clr?
What is the difference between virtual and override in c#?
What are winforms in c#?
Do extension methods have to be static?
Can we override interface methods in c#?
What is the difference between system.string and system.text.stringbuilder classes?
Please explain value types and reference types used in c#?
What are the problem with .NET generics?
What is token in c#?
What is difference between c sharp and c#?
List down the access modifiers available in c#?
What is uint64?
What is the difference between namespace and class in c#?
For methods inside the interface why can’t you specify the accessibility modifier?
What are the different types of delegation?