Pregunta de entrevista de Humana

Some basic questions on Java and memory.