Question d’entretien chez Cognizant

What's difference between new and old Java memory management