Question d’entretien chez Sears

Explain garbage collection in Java in detail.