Is reference counting garbage collection?



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

Post New Answer

More Objective-C Interview Questions

What happens if you add your just created object to a mutable array, and you release your object?

1 Answers  


Does objective c have pointers?

1 Answers  


When would you use nsarray and nsmutablearray?

1 Answers  


What is a class property?

1 Answers  


How to convert string to nsnumber in objective c?

1 Answers  


What are the three subatomic particles?

1 Answers  


Explain what is @synthesize in objective-c?

1 Answers  


Can a protocol have properties?

1 Answers  


How do you write an objective?

1 Answers  


what is gcd? What are advantages over nsthread?

1 Answers  


How to call function?

1 Answers  


What are the types of ios binaries you can create using xcode?

1 Answers  


Categories