Interview Questions

Differentiate between the message and method.

C++ Interview Questions and Answers


(Continued from previous question...)

12. 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.

(Continued on next question...)

Other Interview Questions