Question: how jdbc is used to connect database?
Answer: The JDBC Driver is a set of classes that implement the JDBC interfaces to process JDBC calls and return result sets to a Java application. The database (or data store) stores the data retrieved by the application using the JDBC Driver. ... An application uses the connection object to create statements.