int a = 5; boolean b = (a < 4) && (a++ < 5); System.out.println(b); System.out.println(a);
打印的结果分别是false和5,因为(a < 4)是false,后面不进行运算