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 |
What do you mean by virtual function and virtual classes?
Why do we separate interface from implementation?
Define Initialisation Purpose.
What do you mean by "explicitly implemeting an interface". Give an example?
Differentiate between overloading and overriding.
Explain OOPS.
What is hybrid inheritance?
What are the problems faced by the developer using object oriented programming language?
Explain persistence?
How to make a class accessible as a web service?
What is the difference between class and interface?
If there is a conflict between base class method definition and interface default method definition, which definition is picked?