Shape Shape

Garbage Collection

Garbage Collection is the automatic process of reclaiming unused memory in programming environments. Used in languages like Java and Python to manage memory efficiently.

Example:

Java runtime automatically frees memory for objects no longer in use.

WhatsApp Icon