Home » Interview » Technology

Explain how garbage collection deals with circular referrences?

Correct Answer: The Net runtime knows about all the references between the objects It can identify all the circular references that are reachable from the root and hence finalize them to free them all at once if and when needed

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion