목차 1 개요 2 같이 보기 개요 Java 조건부연산자 int max; int a = 1; int b = 2; max = (a > b) ? a : b; System.out.println(max); 같이 보기 조건부연산자