Java Database Connectivity (JDBC) is an application programming interface (API) for the programming language Java, that defines how a client may access a database. JDBC API uses jdbc drivers to connect with the database.It is part of the Java Standard Edition platform, from Oracle Corporation. It provides methods to query and update data in a database, and is oriented towards relational databases.
The JDBC classes are contained in the Java package java.sql and javax.sql.
API (Application programming interface) is a document that contains description of all the features of a product or software. It represents classes and interfaces that software programs can follow to communicate with each other. An API can be created for applications, libraries, operating systems, etc