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


Please Help Members By Posting Answers For Below Questions

Name the operators that cannot be overloaded in C++?

587


What is the latest version on c++?

691


What is function prototyping?

622


What is a list c++?

579


What is decltype c++?

559






What is unary operator? List out the different operators involved in the unary operator.

590


How are the features of c++ different from c?

596


What is a stack? How it can be implemented?

700


What is meant by the term name mangling in c++?

524


How to declare an array of pointers to integer?

587


What is linked list in c++?

695


What is a singleton c++?

551


what is a reference variable in C++?

670


What is the difference between function overloading and operator overloading?

579


List down the guideline that should be followed while using friend function.

649