Answer: Dynamic binding and message passing are two different features of OOPS.
Dynamic Binding refers to linking a procedure call to the code that will be executed only at run time. The code associated with the procedure in not known until the program is executed, which is also known as late binding
Message Passing is nothing but sending and receiving 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.
0 comments :
Post a Comment