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 happens with the objects if the array is released?



What happens with the objects if the array is released?..

Answer / Jaideep Shrivastava

In Objective-C, when an array is released, its memory is deallocated. However, the objects contained within the array are not automatically deallocated unless they have a weak reference or are autoreleased. If the array contains strong references to these objects, the objects will remain in memory until all strong references to them are removed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

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

1 Answers  


What is method swizzling in objective c and why would you use it?

1 Answers  


What is objective c good for?

1 Answers  


What does it mean to be objective?

1 Answers  


Is objective c and c the same?

1 Answers  


Does objective-c contain private strategies?

1 Answers  


How do you define a protocol?

1 Answers  


Explain immutable types in objective c programming language?

1 Answers  


What is the purpose of managed object context (nsmanagedobjectcontext) in objective-c and how does it work?

1 Answers  


What does the gc () method?

1 Answers  


Explain class definition in objective-c?

1 Answers  


What does mean in objective c?

1 Answers  


Categories