Difference between multi-level and multiple inheritance?

Answer Posted / vipin rana

multiple inheritance: It is define that type of inheritence
in which more than one class can derived one derived class.
ie.



base1 base 2 base n
| | |
| | |
|_____________ derived _______|

multilevel inheritance: It is define that type of
inheritance in which one derived class can derived a new
class as well as well base class for new derived class is
refered to as intermidite base class..


ie. 1 base class
|
|
|
2 intermidiate base class
|
|
|
3 derived



or .. student
|
|
test
|
|
result

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is generic in c#?

625


Why do we use interface in c#?

687


Are c# references the same as c++ references?

745


Is c sharp free?

714


Can a struct inherit from an interface in c#?

729


What is a dynamic assembly?

730


Write the difference between TypeOf and GetType?

778


Why main method is static in c#?

685


Explain how to parse a datetime string?

673


What exactly happens when we debug and build the program?

2172


What is deferred execution?

653


What is dynamic object in c#?

692


Why is it important to override gethashcode when equals method is overridden?

754


Is a dll an assembly?

665


What is the file extension for c#?

700