The Messages In OOPs
OOPs is am important feature of an Object oriented Programming.A message is a process through which software objects communicate with one another.
A D V E R T I S E M E N T
Creating a port object data structure with the message passing unit, the
port object data structure associated with the plurality of message data
structures, the port object data structure corresponding to a receptacle
for messages directed to each message object data structure within the
plurality of message object data structures and to which each server task
within the plurality of server tasks issues a receive message request for
the purpose of polling for a message.
Most object-oriented applications do not allow other objects to access their fields directly by declaring them private. Then they make their methods protected, public, or package as needed and allow other objects to manipulate their private data by calling the methods only. This way, you can update your class by changing a field definition and the corresponding method implementation, but other objects that access that data do not need to be changed because their interface to the data (the method signature) has not changed. In OOP, each object is capable of receiving messages, processing data, and sending messages to other objects and can be viewed as an independent 'machine' with a distinct role or responsibility.