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