单项选择题
public class Test{
public static void main(String[]args){
intx=5;
boolean b1=true;
boolean b2=false;
if((x==4)&&!b2)
System.out.print("l");
System.out.print("2");
if((b2=true)&&b1)
System.out.print("3");
}
}
What is the result?()
A.2
B.3
C.12
D.23
E.123
F.Compilation fails.
G.An exceptional ist hrown at runtime.
点击查看答案&解析
相关考题
