How to fix “Method in class cannot be applied to given types” error?

You have no WageCalculatorApp Object. Specifically speaking, unless you give more code, while you initialize the WageCalculatorObject object, you never call it, and therefore any methods you call do not return anything as nothing exists (Unless of course you did not show your code for the WageCalculatorApp). Unless you create a WageCalculatorApp object, nothing can be returned from it as it does not exist.

Leave a Comment