the object communicate through which method
Answers
Answered by
1
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
Answered by
1
Answer:
The object communicate by sending and receiving messages
Similar questions