Capgemini Interview Question

Explain Garbage Collection in Java