单项选择题以下程序段输出结果为( )。 class test_1 public static void main(String args[]) int x=0; boolean bl,b2,b3,b4; b1=b2=b3=b4=true; x=(b1|b2&b3^b4)x++:--x; System.out.println(x);
单项选择题阅读下列程序片段 Publicvoidtest() Try sayHello(); system.out.println(“hello ); catch(ArrayIndexOutOfBoundExceptione) System.out.println(“ArraylndexOutOfBoundException”); catch(Exceptione) System.out.println(“Exception”); finally System.out.println(“finally”); 如果sayHello()方法正常运行,则test()方法的运行结果将是( )。