[单选题]

执行完下列代码段之后: bool x=true, y=false, z=false; x=x&&y‖z; y=x‖y&&z; z=!(x!=y)‖(y-z); 则x=false, y=false, Z=( )。

A.true

B.false

C.不确定

D.异常

参考答案与解析:

相关试题

已知如下代码: boolean m=true; if(m==false) Sys

[单选题]已知如下代码: boolean m=true; if(m==false) System.out.prinfln("False"); else System.out.println("True");A.假B.真C.NoneD.An error will occur when running

  • 查看答案
  • 下面程序段:boolean a=false;boolean b=true;boo

    [单选题]下面程序段:boolean a=false;boolean b=true;boolean c=(a&&b)&&(!b);boolean result=(a&b)&(!b);执行完后,正确的结果是A.c=false;result=falseB.c=true,result=trueC.c=true;result=falseD.c=false;result=true

  • 查看答案
  • 下面程序段:boolean a=false;boolean b=true;boo

    [单选题]下面程序段: boolean a=false; boolean b=true; boolean c=(a||b)&&(b); boolean result=(a|b)&(b); 执行完后,正确的结果是A.c=false;result=falseB.c=true,result=trueC.c=true;result=falseD.c=false;result=true

  • 查看答案
  • 下面程序段:boolean a=false;boolean b=true;boo

    [单选题]下面程序段: boolean a=false; boolean b=true; boolean c=(a&&B) &&(!B) ; boolean result=(a&B) &(!B) ; 执行完后,正确的结果是( )。A.c=false;result=falseB.c=true,result=trueC.c=tree;result=falseD.c=false;result=trae

  • 查看答案
  • 已知如下代码:booleanm=true;if(m=false)System.o

    [单选题]已知如下代码:booleanm=true;if(m=false)System.out.println("False");elseSystem.out.println("True");执行结果是()A . FalseB . TrueC . NoneD . 出错

  • 查看答案
  • Is the following statement true or false

    [单选题]Is the following statement true or false?A. significant change in the ownership of an existing audit client is a factor which makes it appropriate for the auditor to review the terms of engagement.A.TrueB.False

  • 查看答案
  • 执行代码x,y,z=sorted([1,3,2])之后,变量y的值为______

    [主观题]执行代码x,y,z=sorted([1,3,2])之后,变量y的值为______。

  • 查看答案
  • “TRUE£¯FALSE”数据类型为( )

    [单选题]“TRUE/FALSE”数据类型为( )A.“文本”类型B.“是/否”类型C.“备注”类型D.“数字”类型

  • 查看答案
  • boolean a=false;boolean b=true;boolean c

    [单选题]boolean a=false;boolean b=true;boolean c=(a&&b)&&(!b);boolean result=(a&amboolean a=false; boolean b=true; boolean c=(a&&b)&&(!b); boolean result=(a&b)&(!b); 执行完后,正确的结果是( )。A.c=false;result=falseB.c=true,result

  • 查看答案
  • 下列程序段的执行结果为()。x=1:y=2z=x=yPrint x;y;z

    [单选题]下列程序段的执行结果为( )。 x=1:y=2 z=x=y Print x;y;zA.1 1 2B.1 1 1C.False FalseD.1 2 False

  • 查看答案
  • 执行完下列代码段之后:bool x=true, y=false, z=false