What is inheritance?

Answers were Sorted based on User's Feedback



What is inheritance?..

Answer / guest

Creating new class with existing one.

Is This Answer Correct ?    7 Yes 0 No

What is inheritance?..

Answer / sri

Inheritance is a type of relationship among classes, wherein
one class shares the structure or behaviour defined in one
(single inheritance) or more (multiple inheritance) other
classes. Inheritance defines a "kind of" hierarchy among
classes in which a sub class inherits from one or more
super-classes; a sub-class typically augments or redefines
the existing structure and behaviour of its super-classes.

Is This Answer Correct ?    6 Yes 0 No

What is inheritance?..

Answer / s.nareshkumar

inheritance is the process of acquiring the one class properties to another class its called 'inheritance'

Is This Answer Correct ?    1 Yes 0 No

What is inheritance?..

Answer / senthilkumar

one object acquires the properties of the another object.


a class is existing the base class.


a class is derived from base class.

subclass access the function and data of the base class.

Is This Answer Correct ?    1 Yes 0 No

What is inheritance?..

Answer / loga

Inheritance relationship among classes, where we can access
the base class variable and methods in the dervied class.
It has various type has multiple,multilevel,hybrid...

Is This Answer Correct ?    0 Yes 0 No

What is inheritance?..

Answer / guest

inheritance means deriving new class from base are derived class

Is This Answer Correct ?    0 Yes 1 No

What is inheritance?..

Answer / krishna kumar.e

It is used to division for sub subclassess.Abstractclassess
are not allowed in inheritance because it has no body.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More OOAD Interview Questions

Explain about the analysis phase?

0 Answers  


Explain the term constructor

0 Answers  


How do you prevent a class from being inherited by another class?

0 Answers  


Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?

0 Answers  


Can an interface have an inner class?

0 Answers  






How will you define abstract classes?

0 Answers   QuestPond,


What is difference between static and non-static fields of a class?

0 Answers  


Can you define OOP and principles of OOP?

0 Answers   MindCracker,


What is super keyword?

0 Answers  


Why does the function arguments are called as "signatures"?

4 Answers  


Explain about object oriented databases?

0 Answers  


What is the use of ‘finalize’?

0 Answers  


Categories