下面程序段的输出结果为( )。
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);
题库:计算机等级考试
类型:最佳选择题
时间:2017-07-03 16:09:02
免费下载:《单项选择》Word试卷
下面程序段的输出结果为( )。
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=true b=true
b=true c=false
D.a=false b=false
b=true c=false
本题关键词:输出结果,输出段梗阻,行为结果,空肠输出段梗,面试程序,行为结果评价,竣工结算程序,结果,行为手段,肝糖输出;