1.

What is the purpose of get connection() method?

Answer»

The DriverManager class contains the getConnection() method is used to establish a connection to a database. 

It uses a username, password, and a jdbc url to establish a connection to the database and returns a connection object.



Discussion

No Comment Found

Related InterviewSolutions