Question { Infosys, 74421 }
What is garbage collection in Java, and how can it be used ?
Answer
Garbage Collection is a form of automatic memory
management. The garbage collector or collector attempts to
reclaim the memory used by objects that will never be
accessed again by the application or mutator.