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

WRITE A SIMPLE C++ PROGRAM TO SWAP TWO NOS WITHOUT USING TEMP

2 Answers  


What is multilevel inheritance in oop?

0 Answers  


Can we call a base class method without creating instance?

6 Answers  


What is cohesion in oop?

0 Answers  


Why do we use polymorphism?

0 Answers  


1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?

6 Answers  


to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123

2 Answers  


What is Virtual Keyword?

9 Answers   IBM, NA,


what is virtual function?

3 Answers  


can main method be overloaded...??? How..????

2 Answers   Satyam,


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

0 Answers   CAT,


What is super in oop?

0 Answers  


Categories