/**
 * FullTimer subclass extends Employee superclass 
 * and overrides Employee methods 
 *
 */

public class FullTimer extends Employee                 // extends Employee superclass
{

    private static boolean healthPlan = true;          // add class variables
    
    private int salary;                                 // add instance variables
    private int vacationDays;

    /**
     * Constructors for objects of class FullTimer
     */

    FullTimer(String title, String last, String first, String x, int old,
              int sal, int vac)   
    {
        super(title, last, first, x, old);           // call superclass constructor
                                                     // pass it title,last,first,sex,age
        salary       = sal;
        vacationDays = vac;  
    }

    /**
     * override the superclass methods
     */

    public String toString ( )                              // override the toString()
    {
        String data = super.toString()  + "\n" +            //call the superclass toString()
                      "Salary: "        + salary + "\t " +
                      "Vacation Days: " + vacationDays + "\n";
        return (data);
    }
}