Morgan Stanley interview question

When would you use abstraction in Java?