What is the difference between method and message?
Answer Posted / earvinyuvi
Message:
Objects communicate by sending messages to each other. A
message is sent to invoke a method.
Method:
Provides response to a message. It is an implementation of
an operation.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What you know about structures in C++?
What is the difference between multiple and multilevel inheritance in c++?
what does the following statement mean? int (*a)[4]
What is buffer and example?
Why is c++ still used?
Write about the use of the virtual destructor?
Explain how the virtual base class is different from the conventional base classes of the opps.
Is there any difference between int [] a and int a [] in c++?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
What do you mean by function overriding & function overloading in c++?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
What is low level language in simple words?
What is the difference between mutex and binary semaphore?
What is the use of cmath in c++?
What is meant by entry controlled loop? What all C++ loops are exit controlled?