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 implicit conversion/coercion in c++?

659


What is vector processing?

675


Explain the difference between class and struct in c++?

593


Can turbo c++ run c program?

637


What is functions syntax in c++?

627






Explain the use of vtable.

622


What do you mean by ‘void’ return type?

611


Explain one method to process an entire string as one unit?

941


Implement stack operations with pointers with appropriate exception checks.

573


Which is the best c++ compiler for beginners?

570


Differences between private, protected and public and give examples.

585


What do you mean by enumerated data type?

584


Explain the difference between realloc() and free() in c++?

544


What is atoi?

550


what are the iterator and generic algorithms.

1487