1.

Invoking a method on a particular object is ____________ sending a message to that object.(a) Different from(b) Same as(c) Somewhat similar(d) Part ofThis question was posed to me in an online interview.This intriguing question comes from Object Reference topic in portion Object of Object Oriented Programming

Answer»

Right CHOICE is (b) Same as

To explain: The methods invoked on a particular OBJECT is same as SENDING a message with same VALUES to that object. Message would CONTAIN values in a particular format that can be used by the object. And calling a method would be just another way to do the same task.



Discussion

No Comment Found

Related InterviewSolutions