The method abs(int) in the type Math is not applicable for the arguments code example
Example: finding absolute value in java
import java.lang.Math;
int sum,x=-5;
sum = Math.abs(x);
import java.lang.Math;
int sum,x=-5;
sum = Math.abs(x);