阅读下列程序片段:public void test
阅读下列程序片段:
public void test(){
try{
sayHello();
System.out.println("hello");
}catch(ArrayIndexOutOfBoundsException e){
System.out.println("ArrayIndexOutOfBoundsException");
}catch(Exception e){
System.out.println("Exception");
}finally{
System.out.println("finally");
}
}如果sayHello()方法正常运行,则test()方法的运行结果将是( )。
答案
D