Exercise, which introduce java classes and interfaces.