Object-oriented programming (OOP) refers to the process of programming by defining objects, which combines state and behavior (combined data and procedures—in this case, methods). An object program is created as a collection of these objects, which communicate with each other. This approach is different than procedural programming, where data and procedures are not connected. OOP is useful when writing application and code maintenance. With OOP, you can use the same piece of code (a method) in order to program actions that are repeated in the code.
The biggest asset of OOP is its compatibility with the human brain's way of perceiving things, which naturally combines objects with actions.
We will cover the following topics in this chapter:
- Technical requirements
- The creation of global and local classes in ABAP...