What is mark and sweep algorithm?
Answer / Jitendra Kumar Sahu
Mark-and-sweep is a garbage collection algorithm used in memory management to identify and free up objects that are no longer being referenced by the program. It works by first 'marking' reachable objects, then 'sweeping' (deallocating) unreachable objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can a protocol have properties?
Are id and instancetype same? If not, what are differences between them?
What is nonatomic and strong in objective c?
Why we use synthesize in objective c?
How to sort array of dictionary in objective c?
What is difference between array and nsarray?
Why swift is better than objective c?
What is objective writing?
Explain the difference between uiwindow and uiview?
What is single inheritance in objective-c?
How do you define a block?
Can we create dynamic classes in objective c?