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 the exit function in c++?
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Can class objects be passed as function arguments?
What is the best c++ compiler?
What is a multiset c++?
Explain the difference between c++ and java.
What is an operator in c++?
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
Write a program to find the Fibonacci series recursively.
How does the copy constructor differ from the assignment operator (=)?
What is the precedence when there is a global variable and a local variable in the program with the same name?
What is the meaning of c++?
What is auto type c++?