class Test2{
public static void main(String [] args){
boolean x=true;
boolean y=false;
short z=42;
if((x==true)&&y=true))z++;
if((y==true||++z=44))z++;
System.out.println(“z=”+z); } }
結(jié)果是什么?()
A. z=42
B. z=43
C.z=44
D. z=45
E.編譯失敗
F.運(yùn)行的時(shí)候有異常拋出
A.size
B.length
C.getSize()
D.getLength()