001package headfirst.strategy;
002
003public class ModelDuck extends Duck {
004        public ModelDuck() {
005                flyBehavior = new FlyNoWay();
006                quackBehavior = new Quack();
007        }
008
009        public void display() {
010                System.out.println("I'm a model duck");
011        }
012}