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
What is Assembly. and Describe type of assembly. why most developer happy with private assembly.
Can an exception be thrown from a catch block?
What is the use of return in c#?
Structs are largely redundant in c++. Why does c# have them?
What is boolean conditions in c#?
Define an escape sequence, name few strings in escape sequence?
How do switch statements work?
What is the output of TextWriterTraceListener redirected?
Which is faster array or arraylist in c#?
Which technology is best for desktop application?
What does an indexer do?
Can we assign null value to integer?
What is the difference between C# 3.5 and C# 4.0?
What are the different types of assembly?
Difference between value and reference type.