int c = 5;
boolean d =(c<4)&&(c++,4);
System.out.ptintln(d); //false
System.out.ptintln(c); //5
但与运算的前一个为非时,第二个直接忽略,不会运行。