Pregunta de entrevista de EPAM Systems

how memory is managed in java?