Introduction to OOP | Chapter 1: Thinking Object-Oriented : | next | previous | audio | real | text |
And principle number 2:
Actions in OOP are produced in response to requests for actions, called messges. An instance may accept a message, and in return will perform an action and return a value.
To begin the process of sending the flowers, Chris gives a message to Fred. Fred in turn gives a message to the florist in Robins city, who gives another message to the driver, and so on.