Join Examsbook
935 0

Q: What is the purpose of garbage collection in Java, and when is it used ?

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

The purpose of garbage collection is to identify and discard those objects that are no longer needed by the application, in order for the resources to be reclaimed and reused.

Are you sure

  Report Error

Please Enter Message
Error Reported Successfully