001package headfirst.combining.factory;
002
003public class RubberDuck implements Quackable {
004
005        public void quack() {
006                System.out.println("Squeak");
007        }
008
009        public String toString() {
010                return "Rubber Duck";
011        }
012}