Answer to Question #46207 in Programming & Computer Science for sayana

Question #46207
real life examples of single inheritance ,multiple ,multilevel,hierarchical, hybrid inheritance
1
Expert's answer
2014-09-24T12:37:52-0400
Single level inheritance: Cat is Animal.
Multiple inheritance: Digital radio is Radio and Clock.
Multilevel inheritance: Square is Rectangle, Rectangle is Shape.
Hierarchical inheritance: Apple, Grape and Watermelon are Fruits.
Hybrid inheritance: IPod is MP3 player, IPhone are MP3 player and Phone.

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 the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS