Difference between multi-level and multiple inheritance?
Answers were Sorted based on User's Feedback
Answer / kautilya
Multiple Inheritance : we can inherit more than one class
in the same classe.
Multi-Level Inheritance: where onc class can inherit only
one base class and the derived class can become base class
of some othere class.
| Is This Answer Correct ? | 250 Yes | 35 No |
Answer / muhammad usman
In Multipal inheritance like this:
Base Calss
_________________
/ | \
/ | \
Class1 Class2 Class3
MultiLevel Inherintance:
Base Class
|
|
Class1
|
|
Class2
| Is This Answer Correct ? | 157 Yes | 67 No |
Answer / 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 |
Answer / ashifa
Multiple inheritance: It has one derived class and can have
more than one base class.
Multilevel inheritance: It has one base class and many
levels of derived classes.
| Is This Answer Correct ? | 56 Yes | 17 No |
Answer / sarathi soja
Multiple Inheritance : we can inherit more than one class
in the same classe.
Multilevel Inheritance:
we can inherit a single class in more than one class
one base class and many derived class
| Is This Answer Correct ? | 52 Yes | 25 No |
Answer / vikram
multiple inheritance:A Class Extends or derived from
atleast more one class or interface.
Multi-level:A class Extends or Derived from exactly one
class & derived class can act as base class for another class
| Is This Answer Correct ? | 25 Yes | 5 No |
Answer / naveenshekhar
Multiple Inheritance : we can inherit more than one class
in the same classe.
Multilevel inheritance: It has one base class and many
levels of derived classes.
| Is This Answer Correct ? | 14 Yes | 4 No |
Answer / aruna
In C#:
interface is supporting multiple inheritence
class is supporting multi level inheritence.
| Is This Answer Correct ? | 10 Yes | 3 No |
Answer / 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 |
Answer / ankur
Multiple Inheritance:- It will done through 'Interface' in C#
Ex:- Interface1(or Class1) Interface2(or class2)
! !
! !
! !
! -------------------!
!
!
Class
Multilevel Inheritance :- In the multilevel inheritance One class another and so on
Class1
!
!
Class2
!
!
Class3
| Is This Answer Correct ? | 4 Yes | 2 No |
I have a very important query in my mind. Please help me regarding this. I don't have any real time exp in .net. But I have a knowledge it .net. I got an offer from an MNC company as a software developer has I had kept 2 years of fake exp. Even though for this job I had worked hard to crack interview for about an year. So, I would like to know how difficult it will be for working in real time as I don't have real time exp. Please tell me as soon as possible bcoz I need to join by next month. Can i sustain over there for a longer time or not. And also let me know how to work pressure will be over there. Please help me regarding this. I'm getting tension thinking about it. Thank you.
What does namespace mean?
Difference between value and reference type.
What is static classes in c#?
What is interpolation in programming?
What does dbml mean?
What are nested classes in c#?
What does Dispose method do with the connection object?
What is arraylist class in c#?
What are the types of delegates in c#?
What are the Configuration files in .net?
What is the relation between classes and objects?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)