66 840
Assignments Done
99,1%
Successfully Done
In October 2018

Answer to Question #14003 in C++ for dhiren

Question #14003
explain the real-word example of multilevel inheritance?
Expert's answer
Suppose we have classes Animal and Mammal.
Mammal is derived from Animal
because in fact, mammal is animal.
Now suppose we add new class
Elephant.
Class Elephant is derived from Mammal because elephant is a
mammal
mammal is animal.
All these 3 classes form multilevel
inheritance:
Animal->Mammal->Elephant
because Elephant is derived
from Mammal that is derived from Animal.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions