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...


When should you call dealloc method? Is it possible to implement dealloc in arc?



When should you call dealloc method? Is it possible to implement dealloc in arc?..

Answer / Saurav Yadav

The dealloc method is called automatically by ARC when an object's retain count reaches zero. However, you can still override the dealloc method if needed, but it's not typically necessary. Overriding dealloc can be useful for performing custom cleanup operations before the object is deallocated.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is the difference between a script and function?

1 Answers  


How do you write a good objective?

1 Answers  


What’s the contrast between utilizing a delegate and warning?

1 Answers  


What’s the contrast between active, inactive, not-running, background and suspended execution states?

1 Answers  


What is the use of category in objective-c?

1 Answers  


What is .h and .m file in xcode?

1 Answers  


Does objective c have garbage collection?

1 Answers  


How to declare global variable in objective c?

1 Answers  


Distinguish between @synthesize and @dynamic in objective –c?

1 Answers  


What is class extension?

1 Answers  


Can a protocol have properties?

1 Answers  


What do you mean by cocoa?

1 Answers  


Categories