Java Interview Questions and Answers – Garbage Collectors

Java Interview Questions | Garbage Collectors   Java Interview Questions : Garbage Collectors   What is the purpose of garbage collection in Java, and when is it used ? The purpose of garbage collection is to identify and discard those objects that are no longer needed …