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 difference between method and constructor?



What is difference between method and constructor?..

Answer / Praveen Kumar Awasthi

In Objective-C, a method is a function that can be called on an object. A constructor, on the other hand, is a special type of method used to initialize an instance of a class. In Objective-C, there are no constructors like in some other programming languages. Instead, objects are usually initialized using their designated initializer or alloc/init methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Is objective c faster than swift?

1 Answers  


How do I open .m files?

1 Answers  


Is swift based on objective c?

1 Answers  


What are the 5 performance objectives?

1 Answers  


Is objective c compiled?

1 Answers  


What is mark and sweep algorithm?

1 Answers  


What are the adavantages of gcd over nsthread?

1 Answers  


What are blocks and how are they used?

1 Answers  


Is objective c type safe?

1 Answers  


Is closure a function?

1 Answers  


Explain what do you mean by dot notation?

1 Answers  


Is c++ similar to objective c?

1 Answers  


Categories