Pergunta de entrevista da empresa Dell Technologies

How does Java handle garbage collection? How do you force garbage collection?

Resposta da entrevista

Sigiloso

15 de jan. de 2016

Java has an automated garbage collector which cannot be forced. While we can suggest to the garbage collector to free up some memory, we cannot command it to.