The JDBC driver can be loaded in two ways:
1. Specify the driver(s) on the command line when running your
java code, using the colon as a driver-separator:
2. Load the driver from within your application:
As you can see, the Class.forName() performs the task of loading the driver at runtime.