// A class to represent lawyers. // 3 weeks vacation, sue, pink form public class Lawyer extends Employee { public Lawyer(int years) { super(years); } // overrides the version from Employee public int getVacationDays() { int oldVacation = super.getVacationDays(); return oldVacation + 5; // 3 weeks vacation // return super.getVacationDays() + 5; } // overrides the version from Employee public String getVacationForm() { return "pink"; // use the yellow form } // unique behavior public void sue() { System.out.println("I'll see you in court!"); } }