问题
单项选择题
下列语句输出结果为( )。 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
下列语句输出结果为( )。 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