How can you retrieve information from a ResultSet?

  1. By invoking the method get (..., String type) on the ResultSet, where type is the database

  2. By invoking the method get (..., Type type) on the ResultSet, where Type is an object

  3. By invoking the method getValue (...), and cast the result to the desired java type.

  4. By invoking the special getter methods on the ResultSet: getString (...), get Boolean (...),


Correct Option: D

Find more quizzes: