[JAVA] Math 클래스 1. 최대, 최소 int a = 10; int b = -1; System.out.println(Math.max(a, b));//10 System.out.println(Math.max(a, b));//-1 2. 절대값 int n = -3; System.out.println(Math.abs(n)); 3. Random 1) Math.random() double d = Math.random(); //0.0 CS/기타 2022.02.06