package class2_2_InterfaceParty_start;// Dr. Yoder. MSOE. 06 December 2016 /** * A class representing a person */ public class Person implements Speaker { private String name; /** * Create a new object representing the named person * @param name the person's name */ public Person(String name) { this.name = name; } /** * The person introduces himself/herself. */ public void speak() { System.out.println("Hello, my name is "+name); } /** * The person dances the waltz... */ public void dance() { System.out.println("1, 2, 3, 1, 2, 3"); } /** * @return a description of the person */ public String toString() { return "A person named "+name; } }