Java garbage collection

Garbage collection in Java is to discard objects that are no longer needed and to reclaim their resources. A Java object is subject to garbage collection when it is out of scope of the control flow of the program.

FAQ Category: Core Java

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

Similar FAQ:


Java FAQ Category