public class zuidazhi{ public static void main(String[] args){ int a = 33; int b = 6666; int c = 777; int better = a > b ? a : b; int max = better > c ? better : c; System.out.println("最大值:" + max); } }