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 | 3 No |
Post New Answer View All Answers
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
What's the hardest coding language?
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
How does com provide language transparency?
What is nested class in c++?
What can I safely assume about the initial values of variables which are not explicitly initialized?
What are multiple inheritances (virtual inheritance)?
Why use of template is better than a base class?
What is the precedence when there is a global variable and a local variable in the program with the same name?
how to explain our contribution in the project?
What's the best free c++ profiler for windows?
What is encapsulation in C++? Give an example.
What c++ library is string in?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02