Actually, it isn't the abs method that is producing the error. The problem is that, in
Java, any numeric literal, including -9223372036854775808, is interpreted as an integer. Obviously, that number doesn't fit into an integer.
Therefore, if you want that line to compile properly, you need to let the compiler know that this number is a long, not an integer, like this:
Notice the 'l' on the end of that number (that's a lower case L in case you can't see it well)? That let's the compiler know that it should interpret this value as a long, not an int. Do that, and your code will work fine...sort of.
You might want to see the resulting value and make sure you can explain that...
