以下程序段输出结果为( )。 class test_1 public s
题型:单项选择题
问题:
以下程序段输出结果为( )。
class test_1
public static void main(String args[])
int x=0;
boolean b1,b2,b3,b4;
b1=b2=b3=b4=true;
x=(b1|b2&b3^b4)x++:--x;
System.out.println(x);
A.1
B.0
C.2
D.3