// Models legal secretaries who can file briefs and make // more money than secretaries. public class LegalSecretary extends Secretary { // Create a LegalSecretary with the given seniority. public LegalSecretary(int years) { super(years); } // LegalSecretaries make $60,000 than Secretaries. public double getSalary() { return super.getSalary() + 60000; // base salary + 60,000 } // File briefs. public void fileBriefs() { System.out.println("I'm filing your briefs!"); } }