What is the difference between method and message?

Answer Posted / earvinyuvi

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 ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object in c++ example?

626


How many standards of c++ are there?

628


What is a breakpoint?

563


Explain bubble sorting.

629


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

605






What is time_t c++?

615


How is static data member similar to a global variable?

586


Do you know what are pure virtual functions?

642


What are associate containers?

618


Is dev c++ free?

616


What c++ is used for?

587


What is a vector c++?

555


Explain how functions are classified in C++ ?

811


Name the implicit member functions of a class.

600


How did c++ start?

616