KOBIL Systems interview question

How does garbage collection work in Java?

KOBIL Systems Interview Question: How does garbage collection work in Java? | Glassdoor