Forcing Garbage Collection The first thing that should be mentioned here is that, contrary to this section's
title, garbage collection cannot be forced. However, Java provides some methods
that allow you to request that the JVM perform garbage collection.
Note: As of the Java 6 exam, the topic of using System.gc() has been removed
from the exam. The garbage collector has evolved to such an advanced state that
it’s recommended that you never invoke System.gc() in your code - leave it to the
JVM. We are leaving this section in the book in case you’re studying for a version
of the exam prior to SCJP 6.
Whther the garbage collection is removed from the actual exam or it is still there in the course.................