1.6 Basics of Object-oriented Programming
• The local agent calls a delivery boy who goes to the theatre and buys cinema tickets and
delivers them at your family’s residence.
In the aforementioned scenario, who are the cooperating agents involved? We can clearly
see a client (you), agent, local agent, delivery boy, and your family members. All these mem-
bers cooperated with each other by communicating the requirement (known as message pass-
ing) to other agents and thereby achieved the end result, that is, your family watching a movie
in comfort.
1.4.2 Community
A group of cooperating agents is called a community. A class in OOP paradigm that is a collec-
tion of cooperating objects (agents) is also called class.
Object-oriented programming language ...