what is multi level inheritance give n example ?
Answer Posted / radha
when a derived class inherits an already created derived
class ,then it is known as multilevel inheritance.
A->B->C
HERE A IS A BASE CLASS.B IS AN INTERMEDIATE BASE CLASS ,AS
IT PROVIDES A LINK FOR THE INHERITANCE BETWEEN A & C.C IS A
DERIVED CLASS.
EG. GRANDFATHER
|
FATHER
|
CHILD
THE CHAIN IS KNOWN AS INHERITANCE PATH.
| Is This Answer Correct ? | 20 Yes | 5 No |
Post New Answer View All Answers
What is destructor in oop?
what are the different types of qualifier in java?
How to hide the base class functionality in Inheritance?
Why is static class not inherited?
Can abstract class have normal methods?
what are the ways in which a constructors can be called?
2. Give the different notations for the class.\
What is a superclass in oop?
What is an interface in oop?
Can we have inheritance without polymorphism?
Why do we use polymorphism in oops?
What is difference between data abstraction and encapsulation?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is abstraction example?
What is coupling in oops?