// CSE 142 Lecture 20 // Interacting with Super Class // A class to represent a Lawyer (2-page manual). public class Lawyer extends Employee { public Lawyer(int years) { super(years); } public double getSalary() { return super.getSalary() + 5000 * getYears(); } public void sue() { System.out.println("See you in court!"); } // Override the vacation form color public String getVacationForm() { return "pink"; } // Override the vacation days public int getVacationDays() { return super.getVacationDays() + 5; } }