+ 1

OOP concepts in one simple program

Hello everyone. I am wondering if someone can put all possible OOP elements in one single program. So that we understand the practical use of OOP in real projects. All that I have learnt about OOP is individual examples of each concepts. I want see how I can use them effectively in my coding. **Please use Python, Java or Javascript** Thanks.

6th Aug 2020, 5:25 AM
Yousif Abdullah Adam
Yousif Abdullah Adam - avatar
2 odpowiedzi
+ 1
There are a lot of overlapping areas when we talk about OOP concepts, for example a class inheriting from other class is not just an example of inheritance but also encapsulation. So it might end up confusing you.
6th Aug 2020, 5:33 AM
Arsenic
Arsenic - avatar
+ 1
While jump into design patters the OOP complexity grows dramatically OOP facts: *encapsulation & accessibility *abstraction *composition *inheritance *polymorphism *modularity *instantiation those are the main, but there are much more, every branch split in branches with more concrete concepts. Here a detailed list: https://en.m.wikipedia.org/wiki/Index_of_object-oriented_programming_articles
6th Aug 2020, 11:41 AM
Kiwwi#
Kiwwi# - avatar