What is the difference between method and message?
Answer Posted / smita
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.
| Is This Answer Correct ? | 129 Yes | 17 No |
Post New Answer View All Answers
Explain what is class definition in c++ ?
Is there finally in c++?
What is capacity in vector in c++?
Please explain class & object in c++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
What is the hardest coding language to learn?
State the difference between delete and delete[].
Do class declarations end with a semicolon? Do class method definitions?
Why do we need pointers?
How many keywords are used in c++?
What methods can be overridden in java?
What is flag in computer?
What is a linked list in c++?
Why is main function important?
When is the destructor called?