[单选题]
阅读下列程序片段:
publicvoidtest()
try
sayHello();
system.out.println("hello");
catch(ArraylndexOutOfBoundExceptione)
System.out.println("ArrayIndexOutOfBoundException");
catch(Exceptione)
System.out.println("Exception");
finally
System.out.println("finally");
如果sayHello()方法正常运行,则test()方法的运行结果将是( )。
A.Hello
B.ArraylndexOutOfBondsException
C.Exception?finally
D.hello?finally
参考答案与解析: