Bank of America Interview Question

Memory management in Java .