以下程序抛出_________异常类型? public class Test { public static void main(String[] args) { String s = "abc"; System.out.println(s.charAt(3)); } }
选项:
A:ArithmeticException
B:ArrayIndexOutOfBoundsException
C:StringIndexOutOfBoundsException
D:ClassCastException
E:程序运行正常无异常
发布时间:2024-05-13 15:58:22