万能百科  > 计算机   > 

[单项选择题] 下列语句输出结果为( )。  public class test  {   public static void main(String ar

2021-07-20   

[单项选择题] 下列语句输出结果为( )。  public class test  {   public static void main(String args[ ])   {    int x=10,y=8;    boolean b=true;    System.out.println(x>0&&x<y||b);   }  }

A.true

B.false

C.1

D.0

正确答案:

A

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

标签