问题详情
classTest2{publicstaticvoidmain(String[]args){booleanx=true;booleany=false;shortz=42;if((x==true)&&y=true))z++;if((y==true||++z=44))z++;System.out.println(z=”+z);}}结果是什么?()
A、z=42
B、z=43
C、z=44
D、z=45
E、编译失败
F、运行的时候有异常抛出