现有: class Test2 f public static void main (String [] args) { boolean X= true; boolean y=false; short Z=20; if((x==true) && (y=true)) z++; if((y==true) (++z==22)) z++; System. out .println( "z="+z); } 结果是什么?()
- AZ=21
- BZ=22
- CZ=23
- DZ= 24
现有: class Test2 f public static void main (String [] args) { boolean X= true; boolean y=false; short Z=20; if((x==true) && (y=true)) z++; if((y==true) (++z==22)) z++; System. out .println( "z="+z); } 结果是什么?()