Is reference counting garbage collection?
Answer / Harish Agarwal
No, reference counting and garbage collection are different memory management strategies. Reference counting maintains the count of objects that have a strong reference to another object, while garbage collection automatically frees up unused memory by periodically scanning objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
What happens if you add your just created object to a mutable array, and you release your object?
Does objective c have pointers?
When would you use nsarray and nsmutablearray?
What is a class property?
How to convert string to nsnumber in objective c?
What are the three subatomic particles?
Explain what is @synthesize in objective-c?
Can a protocol have properties?
How do you write an objective?
what is gcd? What are advantages over nsthread?
How to call function?
What are the types of ios binaries you can create using xcode?