// Tyler Rigsby, CSE 142 // Contains client code for testing our employee types public class EmployeeMain { public static void main(String[] args) { Secretary fred = new Secretary(2); Marketer mary = new Marketer(4); Lawyer lisa = new Lawyer(3); LegalSecretary sam = new LegalSecretary(1); System.out.println(fred.getSalary()); fred.takeDictation("dictation!"); System.out.println(mary.getVacationDays()); System.out.println(fred.getVacationDays()); System.out.println(sam.getSalary()); sam.takeDictation("hi"); fire(fred); fire(mary); fire(lisa); fire(sam); Employee[] employees = {fred, mary, lisa, sam}; } public static void fire(Employee e) { System.out.println("Employee " + e + ", you're fired!"); } }