Answer
GC removes unreachable objects.
Algorithms include Mark-and-Sweep and Generational GC.
Prevents memory leaks automatically.
Algorithms include Mark-and-Sweep and Generational GC.
Prevents memory leaks automatically.