What is the difference between method and message?
Answer Posted / scott
A message is any packet of communication between objects.
The objects may be in the same program, or they may be on
different systems. It simply doesn't matter.
A method is a block of code attached to an object by some
means. It may be implicitly attached by means of a class,
or it may be an anonymous closure attached to an arbitrary
attribute of the object.
Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
Is it possible to use a new for the reallocation of pointers ?
What are stacks? Give an example where they are useful.
Which field is used in c++?
What is a storage class? Mention the storage classes in c++.
Can we delete this pointer in c++?
What is enum class in c++?
What is the object serialization?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
What is the difference between strcpy() and strncpy()?
What is a syntax in c++?
What do you understand by zombie objects in c++?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
what is scupper?
Why do we need c++?
What are advantages of c++?