what is multi level inheritance give n example ?
Answer Posted / desh
A class which is derived from another class and it can also
be derived by an another class is known as multilevel
inheritance.{combination of two or more simple inheritance
in a same program are also called as multilevel inheritance.}
example: hen->chick->egg.
animals
/ \
/ \
herbivorous carnivorous
/ \ / \
goat cow lion snake
| Is This Answer Correct ? | 12 Yes | 19 No |
Post New Answer View All Answers
How do you use inheritance in unity?
What is byval and byref? What are differences between them?
#include
What are benefits of oop?
What is class and object in oops?
What do you mean by variable?
What does I oop mean?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is constructor overloading in oop?
How to improve object oriented design skills?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Is oop better than procedural?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is abstract class in oop?
What is the highest level of cohesion?