Exam 1z0-809 All QuestionsBrowse all questions from this exam
Question 156

What is true about the java.sql.Statement interface?

    Correct Answer: D

    The java.sql.Statement interface provides methods to execute SQL statements and return their results. This includes executing queries, updates, and other SQL commands. It does not provide a session, instantiate Connection objects, or directly provide a cursor for fetching data. Instead, a ResultSet object returned by executing a query can be used to fetch data. Therefore, the correct option is that it provides a class for executing SQL statements and returning the results.

Discussion
AVB22Option: D

D is the answer and I am not a robot!

asdfjhfgjuaDCVOption: D

D is the answer. D. It provides a class for executing SQL statements and returning the results.

steefaandOption: D

D is true.

duydnOption: D

D is correct!

Svetleto13Option: D

Correct answer is D