单项选择题

PreparedStatement对象变量实例化,如果要进行操作的SQL语句是一个Select语句,调用()方法执行数据库查询。

A.execute()
B.executeQuery()
C.executeUpdate()
D.executeBatch()