单选题 下面程序段的输出结果为
public class Test

public static void main(String args[])

boolean a,b,c;
a=(3<5);
b=(a==true);
System.out.printin( "a="+a+"b="+b) ;
c-(b==false);
System.out.println(b="+b+"e="+c) ;



【正确答案】 C
【答案解析】[解析] 本题考查关系运算符<和==。题目中a=(3<5);比较3和5的大小,因为3<5,返回true给a:b=(a==true);判断a是否为真,因为a确实为真,返回true给b; c =(b==false);判断b是否为假,因为b不为假,返回false给c。最后结果a=true,b==true, b=true,c=false,选项C正确。