Morgan Stanley interview question

What are interfaces in Java?