Difference between multi-level and multiple inheritance?
Answer Posted / rajesh kumar k
Multiple inheritance :
More than one Base Class used in Derived Class
Example:
Class A (Base Class)
Class B (Base Class)
Class C (Base Class)
Class D (Derived Class)
Inherit Class A , Class B, Class C
----------------------------------------------------------
Multilevel Inheritance :
Base Class Used Derived Class The Same again we are using as
Base Class
Example :
Class A (Base)
Class B Inherit Class A (Derived Class for Class A
And Base Class for Class C)
Class C Inherit Class B
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Where’s global assembly cache located on the system?
What is sql transaction in c#?
in object oriented programming, how would you describe encapsulation?
Can class inherit from struct c#?
Explain attributes in c#?
What is a Assembly?
What is state c#?
Is Facebook a desktop application?
Is string mutable in c#?
Describe the parts of assembly.
Can dictionary have duplicate keys c#?
To whom a method is accesssed if it is marked as protected internal ?
Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?
What happens if the inherited interfaces have conflicting method names?
What is the use of console?