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

Explain the types of protocol?

1 Answers  


What is retain count?

1 Answers  


What are the delegate?

1 Answers  


What is block in objective c?

1 Answers  


What is difference between c and objective c?

1 Answers  


What is gcd?

1 Answers  


Explain how the class “implementation” is represented in objective-c?

1 Answers  


How to call function?

1 Answers  


What is the difference between a script file and a function matlab?

1 Answers  


What is the difference between underscore and self (i.e self.xx and _xx) ?

1 Answers  


What is a block objective c?

1 Answers  


What are the characteristics of the category?

1 Answers  


Categories