Java中if…else…和三元运算符的关系 public class Hello { public static void main(String[] args) { int x = 20; int y = 100;