public class hd {
public static void main(String[] args) {
int a =10;
System.out.println(3<4 && a++<100);//true
System.out.println(3>4 && a++<100);//false
System.out.println(3<4 || a++<100);//true
System.out.println(3>4 || a++<100);//true
System.out.println(3>4 || a++>100);//false
System.out.println(!true);//false
//短路
int b =10;
System.out.println(3<4 && b++<100);//true
System.out.println(b);//11
System.out.println(3>4 && b++<100);//false
System.out.println(b);//10
System.out.println(3>4 || b++<100);//true
System.out.println(b);//11
System.out.println(3<4 || b++<100);//true
System.out.println(b);//10
}



