ad the code describing the solution, you are reading words that also express the problem. This is a more flexible and powerful language abstraction than what we have had before. Thus, OOP allows you to describe the problem in terms of the problem, rather than in terms of the computer where the solution will run. There's still a connection back to the computer, though. Each object looks quite a bit like a little computer; it has a state, and it has operations that you can ask it to perform. Object-oriented programming is based upon objects, classes, abstract data types, messages, inheritance and polymorphism. In order to understand the merits of the object-oriented programming we need to get acquainted with the main concepts, that constitute the foundation of the object oriented programming.
Functions and data structures are the basic traditional elements of design. Object-oriented programming does not dispute this view of the world but only restructures it at a higher le
...