要调用数据库中的存储过程,首先要定义一个CallableStatement接口对象变量,然后通过连接的()方法实例化该接口对象。

要调用数据库中的存储过程,首先要定义一个CallableStatement接口对象变量,然后通过连接的()方法实例化该接口对象。

A.createStatement()

B.prepareCall()

C.prepareStatement()

D.callableStatement()

正确答案是B