6 years ago in JDBC

Which packages contain the JDBC classes?

[A] java.jdbc and javax.jdbc
[B] java.jdbc and java.jdbc.sql
[C] java.sql and javax.sql
[D] java.rdb and javax.rdb
Loading...
Next Question

Overall Stats

Attempted 651
Correct 256
Incorrect 120
Viewed 275

Answers

Guest
Guest
ihsane KHALLOUQ
ihsane KHALLOUQ - 4 days ago

ihsane KHALLOUQ from Casablanca, Morocco is saying java.sql and javax.sql is correct answer

bikram behera
bikram behera - 4 weeks ago

bikram behera from Machhagan, India is saying java.sql and javax.sql is correct answer

radhika Gupta
radhika Gupta - 2 months ago

radhika Gupta from Lucknow, India is saying java.jdbc and java.jdbc.sql is correct answer

atish lohade
atish lohade - 2 months ago

atish lohade from Aurangabad, India is saying java.sql and javax.sql is correct answer

Didier MUNEZERO
Didier MUNEZERO - 2 months ago

Didier MUNEZERO from Kigali, Rwanda is saying java.sql and javax.sql is correct answer

Related Questions

Which of the following statements is false as far as different type of statements is concern in JDBC?

  • [A] Regular Statement
  • [B] Prepared Statement
  • [C] Callable Statement
  • [D] Interim Statement

How can you retrieve information from a ResultSet?

  • [A] By invoking the method get(..., String type) on the ResultSet, where type is the database type
  • [B] By invoking the method get(..., Type type) on the ResultSet, where Type is an object which represents a database type
  • [C] By invoking the method getValue(...), and cast the result to the desired Java type.
  • [D] By invoking the special getter methods on the ResultSet: getString(...), getBoolean (...), getClob(...)

Where is metadata stored in MySQL?

  • [A] In the MySQL database metadata
  • [B] n the MySQL database metasql
  • [C] In the MySQL database mysql
  • [D] None of the above is correct.

What happens if you call deleteRow() on a ResultSet object?

  • [A] The row you are positioned on is deleted from the ResultSet, but not from the database.
  • [B] The row you are positioned on is deleted from the ResultSet and from the database
  • [C] The result depends on whether the property synchronizeWithDataSource is set to true or false
  • [D] You will get a compile error: the method does not exist because you can not delete rows from a ResultSet