Explain the way messaging works in objective-c?



Explain the way messaging works in objective-c?..

Answer / Shailendra Kumar Mishra

In Objective-C, message passing is the process of sending a message to an object. The message consists of a selector (method name) and arguments, which are passed as objects. An object can respond to a message if it implements the method corresponding to the selector. If it does not, then the message is sent to its superclass until a matching method is found or an error occurs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What are objective- c blocks?

1 Answers  


Ns object is a parent class or derived class?

1 Answers  


Mention which class can you use for parsing of xml in iphone?

1 Answers  


What is #import?

1 Answers  


What is a delegation protocol?

1 Answers  


What is an extension?

1 Answers  


Why swift is faster than objective c?

1 Answers  


Who introduced objective-c & when?

1 Answers  


Does objective c have pointers?

1 Answers  


What is an objective description?

1 Answers  


Tell me about important protocol being used in objective c?

1 Answers  


What is umbrella header?

1 Answers  


Categories