/**
 * FullTimer subclass extends Employee superclass 
 *
 */

public class FullTimer extends Employee              // extends Employee superclass
{
    /**
     * class and instance variables
     */

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

    /**
     * Constructor 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;  
    }

    public String toString()                        //toString instance method
    {
        String name = getFullname();				//call getFullname() method
        String data = "Position: " + position + 
                      "\t Name:  " + name + 
                      "\t Sex: "   + sex + "\t Age: " + age +
                      "\t Salary: "+ salary;
        return (data);
    }
}