5

MORE ON FUNCTIONS: ADVANCED CONCEPTS

5.1 POLYMORPHISM

“The meeting ends with thanks to the Chair”, announced the secretary. This message was taken differently by different persons. The Chairman went to his/her office. The accounts clerk distributed the remuneration to the members. The internal members proceeded it to their respective departments. The external experts marched towards the parking place to pick up their vehicles. The secretary took his/her personal assistant along to his/her office for dictation of the minutes of the meeting. And the peon began picking up the papers, littered over the tables. This behaviour is called as polymorphic in the sense that the same message was processed in different forms by different group of people. ...

Get Object-Oriented Programming with C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.