/**
 * @author agaust
 * @blog bloggersmart.net - python.web.id
 */

public class BicycleDemo {
    public static void main(String [] args) {
        Bicycle bike1 = new Bicycle();
        Bicycle bike2 = new Bicycle();
        
        bike1.changeCadance(50);
        bike1.speedUp(10);
        bike1.changeGear(2);
        bike1.printStates();
        
        bike2.changeCadance(50);
        bike2.speedUp(10);
        bike2.changeGear(2);
        bike2.changeCadance(40);
        bike2.speedUp(10);
        bike2.changeGear(3);
        bike2.printStates();
    }
}

Create BicycleDemo.java