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
What are 2 ways of exporting a function from a dll?
Do you know about latest advancements in C++ ?
What are the advantages of using pointers in a program?
What are friend classes?
What is class and structure in c++?
What is abstraction c++?
Discuss the possibilities related to the termination of a program before entering the mainq method?
What are the uses of pointers?
What is the use of turbo c++?
What are files in c++?
Can a built-in function be recursive?
What are the benefits of oop in c++?
What it is and how it might be called (2 methods).
What is ios :: in in c++?
What is virtual function? Explain with an example