Some language features are just plain ugly. The first time you see them, you say to yourself, “If I ever have to use that, there’s something wrong with my design.” And most of the time you’d be right.
Java interfaces are different from classes, and it’s important to know how to use their special properties in your Java programs. This tutorial introduces the difference between classes and interfaces ...