Differentiate between the message and method.

  1. Differentiate between the message and method.
    Message:
    • Objects communicate by sending messages to each other.
    • A message is sent to invoke a method.
    Method
    • Provides response to a message.
    • It is an implementation of an operation.

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.