Differentiate between the message and method?

Answer Posted / ritesh pal

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 ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why the usage of pointers in C++ is not recommended ?

982


What is the difference between a template and a macro?

668


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

707


State the difference between pre and post increment/decrement operations.

700


Is map ordered c++?

686






Write a function to find the nth item from the end of a linked list in a single pass.

653


What is a .lib file in c++?

643


What does the ios::ate argument do?

772


What do you mean by translation unit?

696


What is null pointer and void pointer?

710


what are Access specifiers in C++ class? What are the types?

711


What are the advantage of using register variables?

742


What is data hiding c++?

685


Write a program to find the Factorial of a number

676


What are the two types of comments?

659