the method in type not applicable for the arguments

后端 未结 4 1892
挽巷
挽巷 2020-12-20 10:53

I am getting this error message:

2 errors found:

Error: The method determineTaxRate(double) in the type PayCalculator is not applicable for

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-20 11:16

    your method defined with one argument.But you are not passing any parameters.

    For calculateNetPay() also you are doing the same thing.

提交回复
热议问题