What are the real life example of inheritance, polymorphism and abstraction ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What are the real life example of inheritance, polymorphism and abstraction ?

20th Oct 2017, 1:41 PM
Dheeraj Sharma
Dheeraj Sharma - avatar
2 Answers
0
Since it seems nice to search some examples of it in real life, that is not so a good idea. You have to know, the all OOP methodology is not for description the real objects in real life, but only for abstract descripting objects in analitics model in information system. This means, no matter about the characteristics and behaviour real objects in real life, but only their demanded evidence data and method in this fake information system. Here dogs do not bark (only a primitive OOP examples), and the parenthood has the different meaning :) So, it is a very hard work to design OOP models for information systems and a the wage of a good OOP analyst in even bigger than for programmer (only a coder)
21st Oct 2017, 7:04 AM
Petr Hatina
Petr Hatina - avatar