public OldDuck() { Fly = new FlyWithWings(); Quack = new LoudQuack(); }
public MallardDuck() { quackBehavior = new LoudQuack(); flyBehavior = new FlyWithWings(); }
public ModelDuck() { quackBehavior = new LoudQuack(); flyBehavior = new CantFly(); }