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
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.
Which is the best c++ compiler?
How to get the current position of the file pointer?
What is meant by iomanip in c++?
What are the benefits of oop in c++?
In a function declaration what does extern means?
What is the best c++ compiler for windows 10?
How are pointers type-cast?
What is virtual function? Explain with an example
What are the advantages of c++?
In the derived class, which data member of the base class are visible?
Write about c++ storage classes?
What is the function of I/O library in C++ ?
Why was c++ created?
What are static and dynamic type checking?