What is the difference between method and message?

Answer Posted / rajputvishal

A message is an instruction to perform some operation send by an object to another object which will perform the operation.

A method is the implementation which is executed after receiving the message

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

3244


What does flush do c++?

558


How would you implement a substr() function that extracts a sub string from a given string?

569


Does improper inheritance have a potential to wreck a project?

634


What is a dynamic binding in c++?

538






What is srand c++?

585


Does c++ have arraylist?

544


How to declare an array of pointers to integer?

587


Explain the difference between c++ and java.

650


What are the advantages of using friend classes?

631


What are the two types of polymorphism?

595


Explain public, protected, private in c++?

569


Is c the same as c++?

566


Why is c++ not purely object oriented?

573


What is the use of string in c++?

553