The DriverManager class maintains the list of the Driver classes. Each driver has to be get registered in the DriverManager class by calling the method DriverManager.registerDriver().
By calling the Class.forName() method the driver class get automatically loaded. The driver is loaded by calling the Class.forName() method. JDBC drivers are designed to tell the DriverManager about themselves automatically when their driver implementation class get loads.
For read more information on JDBC visit to :http://www.roseindia.net/jdbc/understanding-driver-manager.shtmlhttp://www.roseindia.net/jdbc/