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 JIT (just in time)? how it works?
What are the types of constructors?
What is the default value of datetime in c#?
What is the difference between field and variable in c#?
Explain the difference between private and shared assembly?
State the top.NET class that everything is derived from?
What is a Jagged Array in C#?
What is wpf application in c#?
what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?
What are the value types in c#?
What is exe in c#?
What is the difference between abstraction and encapsulation in c#?
What issues can be faced while delivering code?
What is a hash table c#?
What is alias in c#?