001package headfirst.combining.adapter;
002
003public class GooseAdapter implements Quackable {
004        Goose goose;
005
006        public GooseAdapter(Goose goose) {
007                this.goose = goose;
008        }
009
010        public void quack() {
011                goose.honk();
012        }
013
014        public String toString() {
015                return "Goose pretending to be a Duck";
016        }
017}