JDBC stands for Java Database Connectivity. It is a Java-based API that helps the client access the database. The JDBC driver is an interface through which the Java application can interact with various databases like Oracle, MsAccess, MySql, and SQLServer. It involves the following steps: import packages, open a connection, pass the query that has to be executed, extract useful information from the result, save the output, and close the connection. Statement is an interface that helps to execute queries. It is of 3 types: Connection statement, Prepared statement, and Callable statement.