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 happen if we send any message to an object which is released?



What happen if we send any message to an object which is released?..

Answer / Chandan Kumar Mishra

Sending a message to a released Objective-C object results in undefined behavior, and can lead to crashes or memory leaks. When you release an object, it becomes eligible for deallocation by the system's garbage collector or ARC (Automatic Reference Counting). Once deallocated, the object no longer exists and cannot receive messages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Which language does apple use?

1 Answers  


What is the difference between nsstring and string?

1 Answers  


What is the main difference between function calls and messages?

1 Answers  


What is difference between method and constructor?

1 Answers  


Is reference counting garbage collection?

1 Answers  


What is a delegate objective c?

1 Answers  


How do you define a protocol?

1 Answers  


What does @synchronized() do?

1 Answers  


How declare methods in objective c?

1 Answers  


What is better objective c or swift?

1 Answers  


Why is objective c used?

1 Answers  


What is block variable?

1 Answers  


Categories