What happen if we send any message to an object which is released?
Answer Posted / 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 View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category