***【119】下面Java代码中,condition1和condition2取何值时,会输出"货到付款"四个字()
boolean condition1=_____,condition2=______;
if(condition1)
if(condition2)
System.out.println("在线支付");
else
System.out.println("货到付款");
(选择一项)
A) true true
B) true false
C) false true
D) false false
【参考答案】:B
求解!
boolean condition1=_____,condition2=______;
if(condition1)
if(condition2)
System.out.println("在线支付");
else
System.out.println("货到付款");
(选择一项)
A) true true
B) true false
C) false true
D) false false
【参考答案】:B
求解!