this is the code for all the class

Code:
public class SalesStaff extends Employee {
//instance variables
double bonusPoints;
//constructor
public SalesStaff (String inputName, String inputSurname, String inputPayRef, double inputSalary,String inputCar)
{
super (inputName , inputSurname , inputPayRef ,inputSalary);

}

//other methods
private double bonusPoints (){
return super inputSalary / 52.0 + bonusPoints * 20;
}


public void showDetails(){
 super.showDetails();
}

}//End of class definition