Java Interview Question
Use this intermediate question and answer to prepare for your next Java interview.
What is the significance of the Garbage Collector in Java? How does it work?
The Garbage Collector is an automatic memory management tool that reclaims memory by removing unused heap objects.