public class Manager extends Person { String teamName; /** * The default constructor */ public Manager() { super(); this.teamName = ""; } /** * The more descriptive constructor * @param name the name of the manager * @param age the age of the manager * @param teamName the name of the team that this manager handles */ public Manager(String name, int age, String teamName) { super(name, age); this.teamName = teamName; } /* * @return the description of this manager */ public String toString() { return "Manager with name: " + name + " age: " + age + " team: " + teamName; } }