package class2_1_WritingInterfaces_Speaker_start;// Dr. Yoder. MSOE. 06 December 2016 /** * Very simple representation of a cat */ public class Cat { /** * The cat meows */ public void speak() { System.out.println("Meow"); } /** * Some cat thing... */ public void snuggle() { System.out.println("(The cat snuggles up against your leg.)"); } /** * Something we can train a cat to do... */ public void roll() { System.out.println("(Cat rolls against your leg.)"); } /** * @return "Cat" */ public String toString() { return "Cat"; } }