Pergunta de entrevista da empresa Amdocs

How memory is managed by JVM?