Pergunta de entrevista da empresa Cognizant

What's difference between new and old Java memory management