1public class Test {
2
3 public static void main(String args[]) {
4 Integer a = -8;
5 double d = -100;
6 float f = -90;
7
8 System.out.println(Math.abs(a));
9 System.out.println(Math.abs(d));
10 System.out.println(Math.abs(f));
11 }
12}