/** * A class representing a programmer */ public class Programmer extends Person{ String skills; /** * The default constructor */ public Programmer() { super(); this.skills = ""; } /** * The more descriptive constructor * @param name the name of the programmer * @param age the age of the programmer * @param skills the skills of the programmer */ public Programmer(String name, int age, String skills) { super(name, age); this.skills = skills; } /* * @return the description of this programmer */ public String toString() { return "Programmer with name: " + name + " age: " + age + " skills: " + skills; } }