001package headfirst.adapter.ducks;
002
003public class MallardDuck implements Duck {
004        public void quack() {
005                System.out.println("Quack");
006        }
007
008        public void fly() {
009                System.out.println("I'm flying");
010        }
011}