IBM interview question

What's an interface in Java for?