package class2_1_WritingInterfaces_Speaker_start;// Dr. Yoder. MSOE. 06 December 2016 import java.util.Scanner; /** * A dog doing doggy things */ public class Dog { /** * The dog barks */ public void speak() { System.out.println("Woof, woof!"); } /** * The dog asks the user how many times he should roll, then does that. */ public void roll() { System.out.print("How many times do you want me to roll? Enter the number: "); Scanner in = new Scanner(System.in); int times = in.nextInt(); for(int i=0; i