考试
1970-01-01 08:00:00

现有:  class  Test4  {      publ

题目描述

现有:  class  Test4  {      public static void main (String  []  args)  {         boolean x=true;         boolean y=false;         short z=42;        if((z++==42)&& (y=true)) z++;      if((x=false)|| (++z==45))  z++;        System. out.println(¨z=”+z);

答案解析

输出 5

加载中...
AI正在思考中,请稍候...