单项选择题
在J2EE中,使用ResultSet对象的next()方法移动光标时,如果超过界限,会抛出 异常,该异常通常是()。
A.InterruptedException
B.AlreadyBoundException
C.SQLException
D.NetException
点击查看答案&解析
相关考题
-
单项选择题
在J2EE中,ServerSocket的accept()方法返回()类型的对象。
A.Socket
B.ServerSocket
C.Server
D.URL -
单项选择题
在Java中,可以使线程运行的方法是()。
A.init();
B.start();
C.run();
D.resume();
E.sleep(); -
单项选择题
在Java语言中,如果你有下面的类定义: Abstract class Shape{ Abstract void draw(); } class Square extendeds Shape{} 如果你试图编译上面的代码会发生()。
A.一切成功编译
B.Shape可以编译,Square不能编译
C.Square可以编译,Shape不能编译
D.Shape,Square都不能编译
