// Allison Obourn
// CS 142, Spring 2024
// Lecture 10

// This program creates a generic employee, a secratary and a lawyer. It
// outputs the salary and vacation days of the employee and the salary of
// the secretary. It has the lawyer sue someone and then prints out the 
// number of vacation days the lawyer gets.
public class EmployeeMain {
   public static void main(String[] args) {
      Employee ed = new Employee(4);
      Secretary sam = new Secretary();
      System.out.println("Ed salary: " + ed.getSalary());
      System.out.println("Ed vacation days: " + ed.getVacationDays());
      
      System.out.println("Sam salary: " + sam.getSalary());
      
      Lawyer laura = new Lawyer(2);
      laura.sue();
      System.out.println("Laura vacation days: " + laura.getVacationDays());
   }
}