首页 › 答案 › 题库 › 知到智慧树 › 未分类

下列选项中,关于Statement描述错误的是()

下列选项中,关于Statement描述错误的是()
A.Statement是PreparedStatement的子接口
B.PreparedStatement能使用参数占位符,而Statement不行
C.获取Statement实现需要使用Connection的createStatement()方法
D.Statement是用来执行SQL语句的
正确答案:Statement是PreparedStatement的子接口