What is Inheritance, Multiple Inheritance, Shared and
Repeatable Inheritance?

Answers were Sorted based on User's Feedback



What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?..

Answer / mahesh kumar

The mechanism of deriving a new class from an old one is
called inheritance.the old ones is called the base class
and the new one is called the derived or sub class.
MULTIPLE INHERIENCE:one depived class from many base class
is reffered to MI.

Is This Answer Correct ?    7 Yes 0 No

What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?..

Answer / srinivas

Inheritence is the mechanisum by which one obj aquiers the
properties of another object .By which we can achhive the
hirearchial classiffication.

Is This Answer Correct ?    7 Yes 0 No

What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?..

Answer / vidhya alphonse

Inheritence is defined as the mechanism of deriving a new
class from an already existing class.The class from which
new class derived is called parent or bae class and the
derived one is called derived class.The new derived class
will have the characteristics of its own and the base class.
The main purpose of using inhertence concept is that
nothing but the reusability of code.Muliple inheritence
means deriving a new class from one or more base class.

Is This Answer Correct ?    7 Yes 0 No

What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?..

Answer / himanshu

Inheritance in java is actually using existing classes or interfaces to make our one useful class or interface..it's main purpose is code reuse..a major concept in Object oriented programming!!

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More OOPS Interview Questions

where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?

2 Answers   Infosys, Microsoft,


who is the founder of c++?

15 Answers   Hexaware, ONGC,


How do you achieve runtime polymorphism?

0 Answers  


What is virtual destructor? Why?

3 Answers   Agile Software, College School Exams Tests, CSC,


what is new modifier in C#

8 Answers   HCL,






What is the advantage of oop over procedural language?

0 Answers  


Tell us about yourself.

47 Answers   ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,


what are the realtime excercises in C++?

0 Answers   IBM, Wipro,


what is an qt4 interface?

1 Answers   IBM,


How do you make derived class as an abstract class?

1 Answers   Convergys, TCS,


What is abstraction in oops?

0 Answers  


what are the ways in which a constructors can be called?

2 Answers   TCS,


Categories