题目:【单选题】现有:
1. class Test4 {
2. public static void main (String [] args) {
3. boolean x=true;
4. boolean y=false;
5. short z=42;
6.
7. if((z++==42) && (y=true)) z++;
8. if((x=false) || (++z==45)) z++;
9.
10. System. out.println(¨z=”+z);
11. }
12. }
结果为:
A、z=42
B、z=44
C、z=45
D、z=46