单项选择题

执行代码段{Studentstu=null;stu.showInfo();}会发生以下哪种异常?()

A.IllegalArgumentException
B.ClassNotFoundException
C.ArrayIndexOutOfBoundsException
D.NullPointerException

题目列表

你可能感兴趣的试题

问答题

【简答题】4URLConnection对象的作用是什么?

答案: 要接收和发关信息还要用URLConnection类,程序获得一个URLConnection对象,相当于完成对指定URL的...
微信扫码免费搜题