InterviewSolution
Saved Bookmarks
| 1. |
The object communicate through which method |
|
Answer» have read at a number of places that "OBJECTS communicate by message passing" OR "an object oriented program is nothing but a bunch of objects telling each other what to do". Now i very well know that to pass a message to an object means that a call to a method of that object is placed. But the IMPORTANT fact is that who makes that call? I NEVER saw an object calling another object`s method.Whenever a call to a method is placed then it is simply WRITTEN as objectname.methodname(PARAMETERS) I for instance never saw a call made like that :Explanation:oh this will help u please mark me as braily |
|