/* CSE 142, Autumn 2007, Marty Stepp A class to represent legal secretaries. */ public class LegalSecretary extends Secretary { // LegalSecretary doesn't need a constructor because the default constructor // automatically calls super(); (calls the Secretary constructor) public void fileLegalBriefs() { System.out.println("I could file all day!"); } public double getSalary() { return super.getSalary() + 5000.0; // $45,000.00 / year } }