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 ?    128 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c++ and its uses?

610


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

611


Explain the difference between abstract class and interface in c++?

512


What is oop in c++?

591


What is virtual destructor ans explain its use?

595






Is it possible to get the source code back from binary file?

702


Is eclipse good for c++?

532


what is pre-processor in C++?

585


Is c++ built on c?

556


You want to link a c++ program to c functions. How would you do it?

529


When one must use recursion function? Mention what happens when recursion functions are declared inline?

637


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

656


What is microsoft c++ redistributable?

604


Explain one-definition rule (odr).

635


What is the most common mistake on c++ and oo projects?

512