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

Why do we need oop?

0 Answers  


#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }

2 Answers   TCS, Wipro,


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

2 Answers  


What is abstraction in oops?

0 Answers  


What is a null tree?

0 Answers  






if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

1 Answers  


What polymorphism means?

0 Answers  


What does no cap mean?

0 Answers  


What is class and object in oops?

0 Answers  


what is code for call by value and call by reference?

1 Answers  


What is the oops and benefits of oops programming?

0 Answers  


What does I oop mean?

0 Answers  


Categories