You have a Math class, and you're attempting to use the abs() method.
The question is: Is it your intention to provide this function or are you trying to use the one in java.lang.Math?
For the first, you have to make sure you're declaring that function.
For the second you have to make sure you're using the correct parameters types; see Math.
Does your Math class have the abs method?
It seems like your Math class is shadowing the Math class that comes in the core of the language.
Your Math class is loaded and the abs method could not be found (hence the "Cannot find symbol" message)