Basic and Advance Programming Question:
Differentiate between the message and method in programming?
Answer:
Message in Programming:
* Objects communicate by sending messages to each other.
* A message is sent to invoke a method.
Method in Programming:
* Provides response to a message.
* It is an implementation of an operation.
* Objects communicate by sending messages to each other.
* A message is sent to invoke a method.
Method in Programming:
* Provides response to a message.
* It is an implementation of an operation.
Previous Question | Next Question |
What is a dangling pointer in programming? | What do you mean by programming analysis and design? |