Answer Posted / sivajothi
Hierarchical inheritance:
when many sub classes(Derived classes)inherit from a single base class is known as hierarchical inheritance.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Explain the advantages of inheritance.
What are the three parts of a simple empty class?
#include
What is a null tree?
What is protected in oop?
What is encapsulation c#?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is oops and its features?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is abstraction in oops?
What is property in oops?
What is oops concept with example?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
write knight tour problem which is present in datastructure
Why it is called runtime polymorphism?