What is the difference between method and message?
Answer Posted / dd
Method is a function or procedure that is defined for a
class and typically can access the internal state of an
object of that class to perform some operation. While
message is refer to instruction that is send to object which
will invoke the related method.
Is This Answer Correct ? | 61 Yes | 6 No |
Post New Answer View All Answers
Are php strings immutable?
How a macro differs from a template?
Is c++ faster than c?
What is the copy-and-swap idiom?
What is c++ good for?
Do class declarations end with a semicolon?
Why Pointers are not used in C++?
What are special characters c++?
Differentiate between a template class and class template in c++?
What is purpose of abstract class?
What gives the current position of the put pointer?
What is c++ namespace?
When should overload new operator on a global basis or a class basis?
What is object oriented programming (oop)?
If I is an integer variable, which is faster ++i or i++?