可以使用( )对象执行SQL语句“insert into score values(?,?,?)”
A. Statement
B. PreparedStatement
CallableStatement
查看答案
可以使用( )对象执行SQL语句“select * from score where stuID=?”
A. Statement
B. PreparedStatement
CallableStatement
如果需要执行的是SQL中的select语句,则必须使用Statement对象的哪个方法?
A. execute()
B. executeUpdate()
C. executeQuerty()
D. exe()
ResultSet接口的()方法可以移动指针到当前位置的上一行。
A. first()
B. last()
C. previous()
D. next()
ResultSet接口的()方法可以将记录指针从当前位置下移一行。
A. first()
B. last()
C. previous()
D. next()