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
Why was c++ made?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
What are c++ manipulators?
What is flag in computer?
Why do we use the using declaration?
What is the outcome of cout< a) 16 b) 17 c) 16.5
What is std :: endl?
Explain method of creating object in C++ ?
What sorting algorithm does c++ use?
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.
Describe new operator and delete operator?
What do you mean by static variables?
What is the role of C++ shorthand's?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
What are stacks? Give an example where they are useful.