package employeeStuff; public abstract class PermanentEmployee extends Employee { private static double benefitDeduction; /** * constructor from parameters */ public PermanentEmployee(String id,String first, String last) { super(id,first,last); } /** * static method to set deduction */ public static void setBenefitDeduction(double bene){ benefitDeduction = bene; } /** *@return the benefit deduction */ public static double getBenefitDeduction() { return benefitDeduction; } /** * overrides toString() *@return data as a String */ public String toString() { return super.toString() + " Permanent Employee: Deduction = " + benefitDeduction + '\n'; } } // end PermanentEmployee