Answer the question
In order to leave comments, you need to log in
What is the basics of OOP?
I am somehow familiar with OOP, but when I hear the basics of OOP, I can’t understand what exactly it is. Can you explain and give some examples?
Answer the question
In order to leave comments, you need to log in
Hm... It's kind of blurry, for example, there is programming itself, and there is OOP, this is part of it, a very important part, that's all I know about what OOP is, if I may say so.
Wikipedia article . For acquaintance. It is unlikely that someone will write you a gag that will exceed the scope of this article.
It is very scary that you apparently did not even try to google. Even with the simplest query "oops python" you can find a bunch of articles like this one - https://python-scripts.com/object-oriented-program... . From personal experience, I can only advise you to definitely fix everything with practical exercises.
Roughly speaking, OOP is a programming paradigm when your functional code (despite the fact that it works as a whole) is divided into several sections of code (abstraction) independent of each other (encapsulation), but at the same time with the possibility of addition or change by others sections of code (inheritance). In essence, the same as functional programming, but it solves the problems of code understanding, hierarchy, reuse, and so on - for example, if we go beyond the basics, then OOP includes tools for use in team development - privacy and publicity, interfaces and abstractions. etc. etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question