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 difference between field and variable in c#?
How do I know if executenonquery is successful c#?
What is difference between encapsulation and abstraction in c#?
What is an array of arrays called?
What is the default boolean value in c#?
What is a class c#?
What are value types and reference types?
Does c# support multiple class inheritance?
Difference between a sub and a function in c#.
What are extender provider components? Explain how to use an extender provider in the project.
How do you read an Excel sheet in C#?
How do I create a multilanguage?
Why generics are used in c#?
Which config file has all the supported channels/protocol?
What is wpf c#?