Question d’entretien chez Barclays

How does Java do garbage collection?