题目内容
(请给出正确答案)
[主观题]
下面程序段的输出结果为()。 public class Test { public static void main(String args[]) {
下面程序段的输出结果为()。 public class Test { public static void main(String args[]) { booleana,b,C; a=(3<5): b=(a= =true); System.out.println("a="+a+"b="+b); c=(b= =false); System.out.println("b="+b+"c="+c); } }
A.a=true b=false b=true c=true
B.a=true b=false b=true c=false
C.a=false b=true b=true c=false
D.a=false b=false b=true c=false
如搜索结果不匹配,请 联系老师 获取答案