class mianshiTest{ public static void main(String[] args){ boolean x = true; boolean y = false; short z = 21; if((z++==21)&&(y=true))z++; if((x=false)||(++z==24))z++; System.out.println("z="+z);//25 } }