WhiteHat Jr Interview Question

How does GC work in Java?