
Java OOP – Garbage Collection
The process by which the programs perform memory management automatically is called Garbage Collection in Java. The Garbage Collector(GC) reclaim the memory by finding the unused objects and deleting them. Dynamic memory allocation of objects is achieved using the new operator that uses some memory and the memory remains allocated until there are references for […]
September 1, 2020










