What is the purpose of garbage collection

The purpose of garbage collection is to identify and discard objects that are no longerneeded by a programso that their resources may be reclaimed and reused.

Showing Answers 1 - 1 of 1 Answers

The purpose of garbage collection is to remove the unused variables/objects (value is null) from the memory,so that their resources can be reclaimed and reused by other programs.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions