Jdbc Interview Questions »



Q)  What are the steps involved in establishing a JDBC connection?
A) This action involves two steps: loading the JDBC driver and making the connection.
Q)  How can you load the drivers?
A) Loading the driver or drivers you want to use is very simple and involves just one line of code. If, for example, you want to [...]

Jdbc Interview Questions »



Q) Is java.sql.Driver a class or an Interface ?
A) It’s an interface.
Q) Is java.sql.DriverManager a class or an Interface ?
A) It’s a class. This class provides the static getConnection method, through which the database connection is obtained.
Q)  Is java.sql.Connection a class or an Interface ?
A) java.sql.Connection is an interface. The implmentation is provided by [...]