I am getting this error message:
2 errors found:
Error: The method determineTaxRate(double) in the type PayCalculator is not applicable for
You haven't specified arguments for the methods which you are calling from printData() method, for example:
System.out.println("Net Pay: " + calculateNetPay());
You are calling calculateNetPay() with 0 arguments, where as in your method defnition you have specified, it needs 2 double arguments.
public double calculateNetPay(double grossPay, double tax) { ... }
Same applies for other errors you are getting.