Explain principle and benefits of garbage collection in data structure
Answers
Answered by
0
Answer:
The purpose of garbage collection is to identify and discard objects that are no longer needed by a program so that their resources can be reclaimed and reused. A Java object is subject to garbage collection when it becomes unreachable to the program in which it is used.
Explanation:
Similar questions
Business Studies,
7 months ago
English,
7 months ago
Biology,
1 year ago
Math,
1 year ago
Chemistry,
1 year ago