When JDBC connects to a database, it first creates a Connection object and then creates a Statement object.
The JDBC Connection object uses the createStatement method to return a JDBC Statement object.
Example: Creating a Statement object
Statement st = conn.createStatement();