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


Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?



Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?..

Answer / Neetu Sinha

In ARC (Automatic Reference Counting), the object's dealloc method is called by the runtime when the object's retain count reaches zero. Yes, you can implement dealloc manually even with ARC, but it's generally not needed because ARC automatically handles memory management.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

When to use nsautoreleasepool??

1 Answers  


Explain the types of protocol?

1 Answers  


Does objective c have function overloading?

1 Answers  


Explain what are the attributes of category?

1 Answers  


What does the gc () method?

1 Answers  


Is objective c better than c++?

1 Answers  


Can I write some c++ function in same .m file? Will it compile? If no, what changes should I do to compile it?

1 Answers  


What is objective c and swift?

1 Answers  


What is protocol with example?

1 Answers  


Is objective c hard?

1 Answers  


Is swift or objective c better?

1 Answers  


How does dispatch_once manages to run only once?

1 Answers  


Categories