Message:-

In a Software application, an object usually appears as a component of a larger program that contain many other objects. Through the interaction of these objects, programmer achieves functionality of the applications. Your stereo kept on a table by itself is incapable of the activity. 

This stereo is useful only when another object(that mean "you") interact with it.

Software objects interact and communicate with each other by sending messages to each other. When object A wants object B to perform one of the B's methods,object A sends messages to object B.


Message means that , software objects interact & communicate with each other . 

MORE ABOUT MESSAGE 

Sometime, the object receiving the message needs more information so that it knows exactly what to do & what not to do. For an example, to send a message to change gear in a car, you have to indicate which gear you want. This information is passed along with message as parameters. For an example, a computer can be used to do any work, it can be used to plan music & video. It can be used as to print & display things. 

Post a Comment

Previous Post Next Post