001package headfirst.combining.composite;
002
003public class RedheadDuck implements Quackable {
004        public void quack() {
005                System.out.println("Quack");
006        }
007
008        public String toString() {
009                return "Redhead Duck";
010        }
011}