Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the main difference between function calls and messages?



What is the main difference between function calls and messages?..

Answer / Uttam Singh Kutiyal

In Objective-C, a function call is a way to invoke a method on an object directly, whereas a message is a way of invoking a method on an object indirectly. Messages are more flexible as they allow for polymorphism (same message can be sent to different objects that implement the same method), and also support key-value coding (accessing methods via keys).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What are the advantages of using objective-c?

1 Answers  


What is objective point of view?

1 Answers  


What is a hash string?

1 Answers  


How do I open .am files?

1 Answers  


What is gcd? What are its advantages over nsthread?

1 Answers  


What is synchronized() block in objective c?

1 Answers  


Can you learn swift without knowing objective c?

1 Answers  


What is the difference between string and nsstring?

1 Answers  


List out the methods used in nsurl connection?

1 Answers  


Explain what are the attributes of category?

1 Answers  


What is a dispatch function?

1 Answers  


What is difference between method and constructor?

1 Answers  


Categories