001package headfirst.combining.composite; 002 003public class DecoyDuck implements Quackable { 004 005 public void quack() { 006 System.out.println("<< Silence >>"); 007 } 008 009 public String toString() { 010 return "Decoy Duck"; 011 } 012}