在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对象
相关考题:
下列关于ResultSet接口的说法哪些是正确的?() A、ResultSet接口被用来提供访问查询结果的数据表,查询结果被当作ResultSet对象而返回。B、ResultSet对象提供“指针”,指针每次访问数据库表的一行。C、ResultSet的next()方法用来移动指针到数据表的下一行,如果到达表尾,next()方法返回假的布尔值-false,否则为真。D、ResultSet接口提供大量的获得数据的方法,这些方法返回数据表中任意位置的数据。E、以上说法都不对
在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中,使用ResultSet对象的next()方法移动光标时,如果超过界限会抛出异常,该异常通常是()。 A.InterruptedExceptionB.AlreadyBoundExceptionC.SQLExceptionD.NetException
在J2EE中,系列选项中,()可以得到URLCconnection类对象。 A.使用URL对象的openConnection()方法得到B.使用URLConnection类的静态方法openConnection()方法得到C.使用URL对象的getConnection()方法得到D.使用URLConnection类的静态方法getConnection()方法得到
在J2EE中,使用Document对象的()方法,可以得到一个NodeList对象。 A.getDocumentElement方法B.getElementsByTagName方法C.getElementTagName方法D.getElementById方法
在J2EE中,VetoableChangeSupport管理一张包含某个对象的列表,该对象是()。 A、PropertyChangeSupportListenerB、ChangeListenerC、PropertyChangeListenerD、VetoableChangeListener
在J2EE中,下列选项中,()可以得到URLConnection对象。 A、使用URL对象的openConnection方法B、使用URLConnection类的静态方法openConnection()方法得到C、使用URL对象的getConnection()方法得到D、使用URLConnection类的静态方法getConnection()方法得到
在J2EE中,使用ResultSet对象的next()方法移动光标时,如果超过界限,会抛出 异常,该异常通常是()。 A、InterruptedExceptionB、AlreadyBoundExceptionC、SQLExceptionD、NetException
在J2EE中,下列选项中,()可以得到URLConnection类对象 A、 使用URL对象的openConnection()方法得到B、 使用URLConnection类的静态方法openConnection()方法得到C、 使用URL对象的getConnection()方法得到D、 使用URLConnection类的静态方法getConnection()方法得到
在J2EE中,使用Document对象的()方法,可以得到一个NodeList对象。 A、getDocumentElement方法B、getElementsByTagName方法C、getElementTagName方法D、getElementById方法
以下关于ResultSet结果集接口的说法正确的是?()A、ResultSet是表示数据库结果集的数据表,通常通过执行查询数据库的语句生成。B、ResultSet对象具有指向当前数据行的光标,最初的时候光标被置于第一行。C、ResultSet的next()方法将光标移动到下一行,返回值类型为结果集中的对象。D、ResultSet中的afterLast()方法是将光标移动到结果集对象的最后一行。
单选题在J2EE中,系列选项中,()可以得到URLCconnection类对象。A使用URL对象的openConnection()方法得到B使用URLConnection类的静态方法openConnection()方法得到C使用URL对象的getConnection()方法得到D使用URLConnection类的静态方法getConnection()方法得到
单选题在J2EE中,下列选项中,()可以得到URLConnection对象。A使用URL对象的openConnection方法B使用URLConnection类的静态方法openConnection()方法得到C使用URL对象的getConnection()方法得到D使用URLConnection类的静态方法getConnection()方法得到
多选题在J2EE中,以下关于得到ResultSet对象、PreparedStatement对象、CallableStatement对象的说法,正确的是()。A可以使用Statement对象的executeQuery方法返回ResultSet对象B可以使用Connection对象的createStatement方法获得PreparedStatement对象C可以使用Connection对象的prepareCall()方法获得CallableStatement对象D可以使用Connection对象的executeQuery方法返回ResultSet对象
单选题在J2EE中,使用Document对象的()方法,可以得到一个NodeList对象。AgetDocumentElement方法BgetElementsByTagName方法CgetElementTagName方法DgetElementById方法
单选题在J2EE中,使用ResultSet对象的next()方法移动光标时,如果超过界限会抛出异常,该异常通常是()。AInterruptedExceptionBAlreadyBoundExceptionCSQLExceptionDNetException