网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

在J2EE中,以下关于得到ResultSet对象、PreparedStatement对象、CallableStatement对象的说法,正确的是()。

  • A、可以使用Statement对象的executeQuery方法返回ResultSet对象
  • B、可以使用Connection对象的createStatement方法获得PreparedStatement对象
  • C、可以使用Connection对象的prepareCall()方法获得CallableStatement对象
  • D、可以使用Connection对象的executeQuery方法返回ResultSet对象

参考答案

更多 “在J2EE中,以下关于得到ResultSet对象、PreparedStatement对象、CallableStatement对象的说法,正确的是()。A、可以使用Statement对象的executeQuery方法返回ResultSet对象B、可以使用Connection对象的createStatement方法获得PreparedStatement对象C、可以使用Connection对象的prepareCall()方法获得CallableStatement对象D、可以使用Connection对象的executeQuery方法返回ResultSet对象” 相关考题
考题 在J2EE中,以下关于得到ResultSet对象、PreparedStatement对象、CallableStatement对象的说法,正确的是()。 A.可以使用Statement对象的executeQuery方法返回ResultSet对象B.可以使用Connection对象的createStatement方法获得PreparedStatement对象C.可以使用Connection对象的prepareCall()方法获得CallableStatement对象D.可以使用Connection对象的executeQuery方法返回ResultSet对象

考题 在J2EE中,下列选项中,()可以得到URLConnection对象。 A.使用URL对象的openConnection方法B.使用URLConnection类的静态方法openConnection()方法得到C.使用URL对象的getConnection()方法得到D.使用URLConnection类的静态方法getConnection()方法得到

考题 在J2EE中,系列选项中,()可以得到URLCconnection类对象。 A.使用URL对象的openConnection()方法得到B.使用URLConnection类的静态方法openConnection()方法得到C.使用URL对象的getConnection()方法得到D.使用URLConnection类的静态方法getConnection()方法得到

考题 cn是Connection对象,创建Statement对象的方法是()。 A、Statementst=newStatement()B、Statementst=cn.createStatement()C、Statementst=newConnection()D、Statementst=cn.getStatement()

考题 ADO对象模型中可以打开Recordset对象的是( )。A.只能是Connection对象B.只能是Command对象C.可以是Connection对象和Command对象D.不存在

考题 ADO对象模型层次中可以打开Record Set 对象的是______。A.只能是Connection对象B.只能是Command对象C.可以是Connection对象和Command对象D.不存在

考题 在J2EE中,下列选项中,()可以得到URLConnection对象。 A、使用URL对象的openConnection方法B、使用URLConnection类的静态方法openConnection()方法得到C、使用URL对象的getConnection()方法得到D、使用URLConnection类的静态方法getConnection()方法得到

考题 Connection对象的方法createStatement()创建的是()对象。A、Statement对象B、ResultSet对象C、SQL对象D、数据记录对象

考题 在J2EE中,下列选项中,()可以得到URLConnection类对象 A、 使用URL对象的openConnection()方法得到B、 使用URLConnection类的静态方法openConnection()方法得到C、 使用URL对象的getConnection()方法得到D、 使用URLConnection类的静态方法getConnection()方法得到

考题 下面有关jdbc statement的说法错误的是()。A、JDBC提供了Statement、PreparedStatement 和 CallableStatement三种方式来执行查询语句,其中 Statement 用于通用查询, PreparedStatement 用于执行参数化查询,而 CallableStatement则是用于存储过程B、对于PreparedStatement来说,数据库可以使用已经编译过及定义好的执行计划,由于 PreparedStatement 对象已预编译过,所以其执行速度要快于 Statement 对象”C、PreparedStatement中,“?” 叫做占位符,一个占位符可以有一个或者多个值D、PreparedStatement可以阻止常见的SQL注入式攻击

考题 下列()方法是Connection对象所具有的方法。A、executeUpdate()B、createStatement()C、preparedStatement()D、PrepareCall()

考题 Command对象通过connection属性获取或设置command对象使用的connection对象。()

考题 下面对jdbc api描述错误的是()。A、DriverManager接口的getConnection()方法可以建立和数据库的连接B、Connection接口的createStatement()方法可以创建一个Statement对象C、Statement接口的executeQuery()方法可以发送select语句给数据库D、ResultSet接口表示执行insert语句后得到的结果集

考题 要切断数据库连接可以使用Connection对象的()方法。

考题 以下关于JDBC API中的类的说法,是()错的。A、我们可以使用Class.forName或者DriverManager.registerDriver来注册给定的驱动driverB、PrepareStatement对象继承了Statement接口,但是访问数据库的速度并没有Statement对象快C、Connection对象代表了和某一个数据源的连接D、ResultSet对象负责处理数据结果集对象

考题 cn是Connection对象,创建Statement对象的方法是()。A、Statement st=new Statement()B、Statement st=cn.newStatement()C、Statement st=cn.createNewStatement()D、Statement st=cn.createStatement()

考题 以下关于jQuery对象说法正确的是()。A、jQuery对象是jQuery独有的B、jQuery对象中无法使用DOM对象的任何方法C、jQuery可以使用DOM对象的任何方法D、jQuery对象不是jQuery独有的

考题 创建Recordset对象的方法有很多,可以使用Connection对象和Command对象来建立Recordset对象,也可以不用显示建立Connection对象和Command对象,直接利用Recordset对象的()方法创建一个Recordset对象。

考题 单选题下面有关jdbc statement的说法错误的是()。A JDBC提供了Statement、PreparedStatement 和 CallableStatement三种方式来执行查询语句,其中 Statement 用于通用查询, PreparedStatement 用于执行参数化查询,而 CallableStatement则是用于存储过程B 对于PreparedStatement来说,数据库可以使用已经编译过及定义好的执行计划,由于 PreparedStatement 对象已预编译过,所以其执行速度要快于 Statement 对象”C PreparedStatement中,“?” 叫做占位符,一个占位符可以有一个或者多个值D PreparedStatement可以阻止常见的SQL注入式攻击

考题 单选题在J2EE中,下列选项中,()可以得到URLConnection对象。A 使用URL对象的openConnection方法B 使用URLConnection类的静态方法openConnection()方法得到C 使用URL对象的getConnection()方法得到D 使用URLConnection类的静态方法getConnection()方法得到

考题 单选题Connection对象的方法createStatement()创建的是()对象。A Statement对象B ResultSet对象C SQL对象D 数据记录对象

考题 填空题创建Recordset对象的方法有很多,可以使用Connection对象和Command对象来建立Recordset对象,也可以不用显示建立Connection对象和Command对象,直接利用Recordset对象的()方法创建一个Recordset对象。

考题 多选题在J2EE中,以下关于得到ResultSet对象、PreparedStatement对象、CallableStatement对象的说法,正确的是()。A可以使用Statement对象的executeQuery方法返回ResultSet对象B可以使用Connection对象的createStatement方法获得PreparedStatement对象C可以使用Connection对象的prepareCall()方法获得CallableStatement对象D可以使用Connection对象的executeQuery方法返回ResultSet对象

考题 单选题ADO对象模型中可以打开并返回RecordSet对象的是(  )。A 只能是Connection对象B 只能是Command对象C 可以是Connection对象和Command对象D 不存在

考题 填空题要切断数据库连接可以使用Connection对象的()方法。

考题 单选题在J2EE中,系列选项中,()可以得到URLCconnection类对象。A 使用URL对象的openConnection()方法得到B 使用URLConnection类的静态方法openConnection()方法得到C 使用URL对象的getConnection()方法得到D 使用URLConnection类的静态方法getConnection()方法得到

考题 多选题以下关于jQuery对象说法正确的是()。AjQuery对象是jQuery独有的BjQuery对象中无法使用DOM对象的任何方法CjQuery可以使用DOM对象的任何方法DjQuery对象不是jQuery独有的