public MallardDuck() { iQuackBehavior = new QuackClass(); iFlyBehavior = new FlyWithWings(); }
public ReadheadDuck() { iQuackBehavior = new QuackClass(); iFlyBehavior = new FlyWithWings(); }
public ModelDuck() { iFlyBehavior = new FlyNoWay(); iQuackBehavior = new QuackClass(); }