阅读以下程序代码,写出程序的输出结果。
public class Class32
{
public static void main(String[] args)
{
boolean x=true, y=false, z=false;
x=x&&y||z;
y=x||y&&z;
z=!(x!=y)||(y==z);
System.out.println(x+", "+y+", "+z);
}
}
【正确答案】
输出结果为:false, false, true
【答案解析】
提交答案
关闭