DriverManager is a class in java.sql package. It is the basic service for managing a set of JDBC drivers
The DriverManager is class in java.sql package. It is used to managing different type of JDBC driver running on an application. The mains responsibility of JDBC driver is loads all the drivers founds in the system, as well as select the most appropiate driver for opening a connection to a database. The Driver Manager also helps to select the most appropriate driver from the previously loaded drivers when a new open database is connected.