What is JDBC
JDBC stands for java database connectivity.
JDBC is an API which gives us structure and semantics to how to deal with database with java programs.
By the help of java JDBC we can insert record, update record, delete record and retrieve record from any database.
What is JDBC API
JDBC API is set of abstract classes and interfaces which all are use to establish connection between java application to database and execute the SQL queries.
JDBC API does not directly interacts with the database.It uses JDBC Driver to interact with the database.
JDBC API is partial it is not complete, means it has only interfaces and abstract classes so that every database vendor has to give implementation classes for all interfaces and abstract classes of JDBC API like oracle has given all implementation classes in the form ojdbc14.jar file.
Like wise every database vendor has to give implementation classes for all JDBC API.