Does Java garbage collection guarantee that a program will not run out of memory?

No. Java Programs may use up memory resources faster than they are garbage collected. A Java program can create objects that are not subject to garbage collection.

FAQ Category: Core Java

Difference between a Java interface and a Java abstract class? Java garbage collection

Similar FAQ:


Java FAQ Category