Pergunta de entrevista da empresa EPAM Systems

how memory is managed in java?