Explain about inheritance hierarchies?



Explain about inheritance hierarchies?..

Answer / Shubham Kaushik

Inheritance hierarchies are a way of organizing related classes in an inheritance relationship. It is a tree-like structure where each class represents a node, and one class can extend (or inherit from) another class. The base or parent class provides the common features for all its subclasses, which may add their own unique features.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOAD Interview Questions

What do you mean by virtual function and virtual classes?

1 Answers   MCN Solutions,


Why do we separate interface from implementation?

1 Answers  


Define Initialisation Purpose.

1 Answers   Atos, Atos Origin,


What do you mean by "explicitly implemeting an interface". Give an example?

1 Answers  


Differentiate between overloading and overriding.

1 Answers  


Explain OOPS.

1 Answers   Ittiam Systems,


What is hybrid inheritance?

1 Answers  


What are the problems faced by the developer using object oriented programming language?

1 Answers  


Explain persistence?

1 Answers  


How to make a class accessible as a web service?

1 Answers   BirlaSoft,


What is the difference between class and interface?

1 Answers  


If there is a conflict between base class method definition and interface default method definition, which definition is picked?

1 Answers  


Categories