Message Passing and OOPs concept in C++

How is Message Passing used in OOPs concept of C++?


Message Passing is nothing but sending and receving of information by the objects same as people exchange information. So this helps in building systems that simulate real life. Following are the basic steps in message passing.
  • Creating classes that define objects and its behaviour.
  • Creating objects from class definitions
  • Establishing communication among objects

In OOPs, Message Passing involves specifying the name of objects, the name of the function, and the information to be sent.

C++ Tutorial

Ask Questions

Ask Question