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: