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.

时间:2022-09-03 12:43:57 所属题库:Java认证考试综合练习题库

相似题目