1.1. What Is Object-Oriented Programming?
Object-oriented
programming is a way to write computer programs by focusing not on the
instructions
and operations a program uses to manipulate data, but on the data itself.
First, the program simulates, or models, objects in the physical world as
closely as possible. Then the objects interact with each other to produce
the desired result.
Real-world objects, such as a company's employees, money in a bank
account, or a report, are stored as data so the computer can act upon it.
For example, when you print a report, print is the action
and report is the object acted upon. Essentially, the objects are the
"nouns", while the actions are the "verbs".