运行下面,会产生什么异常?public class X7_1_4 {public static void main(String[] args) {int x = 0;int y = 5/x;int[] z = {1,2,3,4};int p = z[4]; }}
A.
ArithmeticException
B.
IOException
C.
ArrayIndexOutOfBoundsException
D.
NumberFormatException
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】Under such a situation, it was the assistant' s duty either to do what she was requested to or to explain why she was unable to comply. Instead, she rudely turned a deaf ear to the request and walked ...
【简答题】Of course it took a while for such a big project to get started, but it was planned in the 60s, built in hte 70s and ually opened to the public in 1930. Ever since then it has proved to be a grea...