TIAA interview question

Memory Management in Java?