Report question

Question: How is garbage collection done in Java and how does it compare to .net?