IBM Interview Question

How is memory management handled in Java?