What is multiple inheritance ?

Answers were Sorted based on User's Feedback



What is multiple inheritance ?..

Answer / aswini.s

one derived class with several base class.

Is This Answer Correct ?    29 Yes 6 No

What is multiple inheritance ?..

Answer / sri

Multiple Inheritance is that one derived class having more
than one base class.

C/C++ will support multiple inheritance.
Java does not support multiple inheritance.

Is This Answer Correct ?    23 Yes 3 No

What is multiple inheritance ?..

Answer / rohan

[Base Classes]
music name height
\\ || //
\\ || //
\\ || //
\\ || //
Musician
[Example of multiple
inheritance]
Def.: A class derived from 2 or more superclass is called a
class inherited from by multiple inheritance.

Is This Answer Correct ?    21 Yes 1 No

What is multiple inheritance ?..

Answer / narasimulu

Multiple Inheritance occurs when a class inherits from more
than one parent.

Is This Answer Correct ?    8 Yes 1 No

What is multiple inheritance ?..

Answer / sivaramakrishnan

Inheritance is the process of creating new class called
derived from the existing or base class.
A derived class with more than one base class is known as
multiple inheritance.

Real time example: A children inherits features from both
father(base1) and mother(base2)

Is This Answer Correct ?    7 Yes 0 No

What is multiple inheritance ?..

Answer / sudha i r

multiple inheritence means the class(child class) inherited
from multiple base class(parent class)

Is This Answer Correct ?    5 Yes 1 No

What is multiple inheritance ?..

Answer / vikram

A derived class with more than one base class is known as
multiple inheritance.

Is This Answer Correct ?    4 Yes 0 No

What is multiple inheritance ?..

Answer / funny guy

Multiple Inheritance is a feature of OOPS where the derived
class can extend features from more than one class.

That means if we have class A and class B then class C can
extend class A and class B.

Having said that from Java point of view this feature is not
supported as it may result in Diamond Problem.

C++ does support this features.

Is This Answer Correct ?    4 Yes 1 No

What is multiple inheritance ?..

Answer / shivaramraje nimbalkarjoshi

The mechanism in which , A Call which is created my
deriving more than one classes is called Multiple
Inheritance.

Is This Answer Correct ?    7 Yes 5 No

What is multiple inheritance ?..

Answer / raj

one derived class with several base class.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is memory leak and memory corruption?

1 Answers   TCS,


What is DeadlyDiamondDeathProblem ?

1 Answers  


What is solid in oops?

0 Answers  


Why is static class not inherited?

0 Answers  


What is Method overloading?

5 Answers  






What are different oops concepts?

0 Answers  


What are the benefits of polymorphism?

0 Answers  


What is multiple inheritance?

9 Answers   TCS,


what is virtual function?

3 Answers  


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,


what is the new version of oops

0 Answers   Ignou,


what is object slicing

3 Answers   TCS,


Categories