import java.text.DecimalFormat; /** * Abstract class Hourly - write a description of the class here * * @author (your name here) * @version (version number or date here) */ public abstract class Hourly { protected double hourlyPayRate; protected int weeklyWorkedHours; protected String employeesManager; protected DecimalFormat f; public Hourly() public void initFormatting() { f = new DecimalFormat(); f.applyPattern( "$#,##0.00;-$#,##0.00"); } public void print() { initFormatting(); System.out.println("The emplyee's hourly rate is: " + hourlyRate); System.out.println("The emplyee's weekly worked hours are: " + weeklyWorkedHours); System.out.println("The emplyee's manager is: " + employeesManager); super.print(); System.out.println(); } }