What is true about the java.sql.Statement interface?
What is true about the java.sql.Statement interface?
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.
D is the answer and I am not a robot!
D is the answer. D. It provides a class for executing SQL statements and returning the results.
D is true.
D is correct!
Correct answer is D