A JDBC ________ provides the necessary methods to interact with the database.

  • Connection
  • Driver
  • ResultSet
  • Statement
In JDBC, a Connection is used to establish a connection to a database. It provides the necessary methods to interact with the database, such as executing SQL queries and managing transactions. A JDBC Driver is responsible for establishing the connection, but the Connection object is what allows you to interact with the database.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *