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 is endl c++?
Explain binary search.
What is void pointer in c++ with example?
What is increment operator in c++?
What is pointer to member?
What are the types of pointer?
what are Operators and explain with an example?
What is ifstream c++?
Can we define a constructor as virtual in c++?
What are arithmetic operators?
What is iterator in c++?
Why is swift so fast?
what do you mean by volatile variable?
Why do we need runtime polymorphism in c++?
What happens if a pointer is deleted twice?