I've attended the Sun
Java Programming course about four months ago. During the course, the instructor mentioned that there is no way to "force" garbage collection in Java. Further studies however led me to the System.gc() method... My understanding is that by calling this method, Java's garbage collection will be "forced"??
My question: Why and when would one use this method? Isn't Garbage collection taken care of automatically?
Thanks!
- Gene.