Garbage Collection Flashcards
1
Q
What is garbage collection in java?
A
Removing unwanted objects or abandoned objects from the memory is called garbage collection. Garbage collection is done automatically in java. You need not to remove the unwanted objects explicitly. Garbage collector thread does this for you.
2
Q
How does garbage collector thread work in java?
A
https://javaconceptoftheday.com/garbage-collection-finalize-method-java/