The abstraction in object-oriented programming is the use of only those characteristics of the object that represent it with sufficient accuracy in this system. The basic idea is to present an object with a minimum set of fields and methods, and with sufficient accuracy for the problem being solved.
And here's another info
This is how abstraction from OOP works: we brought important data and methods to the base class, and their differences were left in their classes.
Worked with an abstract class and interface, but I donāt really understand the definition, especially from Wikipedia:
using only those characteristics of the object that with sufficient accuracy represent it in this system, what?))
From this:
This is how abstraction from OOP works: we brought important data and methods to the base class, and their differences were left in their classes.
I understood that we stuff a lot of what into an abstract class, and each successor class takes what it needs, correct it if itās not right.
Abstraction is the basis of object-oriented programming and allows you to work with objects, without going into their particular implementation.
You can give an example, it is unclear how it allows you to work with objects, without going into particular implementation, I thank in advance.