// CSE 142, Autumn 2010, Jessica Miller // A class to represent lawyers. // Lawyers' vacation methods override superclass's vacation methods. public class Lawyer extends Employee { public int getVacationDays() { // use super to encode lawyers' vacation based on default employee vacation return super.getVacationDays() + 5; // 3 weeks' paid vacation } public String getVacationForm() { return "pink"; // use the pink form } public void sue() { System.out.println("I <3 sueing!!!"); } }