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

What is the main difference between function calls and messages?

1 Answers  


What are the classifications of property?

1 Answers  


What is an nsobject?

1 Answers  


What is the use of objective c?

1 Answers  


Is objective c garbage collected?

1 Answers  


Why is objective c syntax so weird?

1 Answers  


How we can layout subviews in a view?

1 Answers  


What is better objective c or swift?

1 Answers  


What is a function file?

1 Answers  


Does objective c have garbage collection?

1 Answers  


How to convert data to string in objective c?

1 Answers  


What is a category in objective c?

1 Answers  


Categories