Question d’entretien chez IBM

how does garbage collector in java work?