public class EmployeeMain {
  public static void printInfo(Employee e) {
    System.out.println(e.getHours());
    System.out.println(e.getSalary());
    System.out.println(e.getVacationDays());
    System.out.println(e.getVacationForm());
  }

  // public static void printInfo(Secretary s) {
  //   System.out.println(s.getHours());
  //   System.out.println(s.getSalary());
  //   System.out.println(s.getVacationDays());
  //   System.out.println(s.getVacationForm());
  // }

  // public static void printInfo(Marketer m) {
  //   System.out.println(m.getHours());
  //   System.out.println(m.getSalary());
  //   System.out.println(m.getVacationDays());
  //   System.out.println(m.getVacationForm());
  // }
  
  public static void main(String []args) {
    Employee homer = new Employee();
    Secretary pam = new Secretary();
    Marketer mark = new Marketer();

    Employee []myTeam = {
      new Employee(),
      new Secretary(),
      new Marketer()
    };
        
    printInfo(homer);
    printInfo(pam);
    printInfo(mark);


    for (int i = 0; i < myTeam.length; i++) {
      printInfo(myTeam[i]);
    }
  }
}
