Terminology check: In Java, the acronym JDBC expands to “Java Database Connectivity.” Is this expansion correct?

Difficulty: Easy

Correct Answer: Correct

Explanation:


Introduction / Context:
JDBC is the standard Java API for connecting to relational databases. It defines interfaces for connections, statements, prepared statements, result sets, and drivers, enabling vendor-neutral data access.



Given Data / Assumptions:

  • Developers use JDBC drivers to communicate with DBMSs.
  • APIs include java.sql and javax.sql packages.
  • JDBC supports SQL execution, transactions, and metadata access.



Concept / Approach:
Confirm the acronym: JDBC = Java Database Connectivity. It is analogous to ODBC in concept, but for Java and with its own driver types and interfaces.



Step-by-Step Solution:
Create a JDBC URL and load a driver (driver auto-loading in modern Java).Obtain a Connection via DriverManager or a DataSource.Prepare and execute SQL using Statement/PreparedStatement.Process ResultSet and manage transactions with commit/rollback.Close resources in finally/try-with-resources.



Verification / Alternative check:
Check the official Java documentation where the phrase “Java Database Connectivity” is defined.



Why Other Options Are Wrong:
“Java Data Connector” and “Java Datastore Connectivity” are not official expansions.



Common Pitfalls:
Confusing JDBC with JPA/Hibernate; mixing driver types and connection URLs.



Final Answer:
Correct

More Questions from JDBC, Java Server Pages, and MySQL

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion