程序异常练习题
一、读程序:
1、写出下列程序的运行结果
public class Test{
public static void main(String agrs[]) {
String[] arr = new String[3];
try {
System.out.print("arr[3]=" + arr[3]);
} catch (Exception ae) {
System.out.println("警告:出现异常!");
} finally {
System.out.println("处理数组异常!");
}