[单选题]

执行下列程序段之后,变量b的值为( )。 public class Test { public static void main (String[] args) { int i = 12; int j = 24; boolean b1 = true; booleanb=(j%i==0)&&(! b1) || (j/i! =2); System. out. println (B); } }

A.true

B.false

C.0

D.1

参考答案与解析:

相关试题

执行下列程序段之后,变量b的值为( )。public class Test {