How does Java handle garbage collection? How do you force garbage collection?
Utilisateur anonyme
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.