Skip to content
Sharp

SQL for Java Devs · interview question

Which JDBC interface is responsible for managing database connections?

Multiple choiceEasychapter-8-curatedpremiumsql-for-java-devsrepository-pattern
Choose one answer
Answer and explanation

Correct answer

C. Connection

Why

The Connection interface is responsible for establishing a connection with the database and managing transaction control. It provides methods for managing transactions and executing SQL commands.

Test yourself on SQL for Java Devs

A free test with instant, explained results. No account needed.

Start free test
All SQL for Java Devs questions →