Pergunta de entrevista da empresa Google

How does the garbage collector in the JVM work and how does it reclaim orphaned objects?

Resposta da entrevista

Sigiloso

3 de jun. de 2012

This is a wrong question since it's JVM dependent. The JVM specification doesn't even require garbage collection let alone a single well defined strategy.