[JAVA] Math

Math.min
두수 중 더 작은수 출력
System.out.println(Math.min(10, 100));
10

 

Math.max
두수 중 더 큰수 출력
System.out.println(Math.max(10, 100));
100