Q:
What are the steps required to execute a query in JDBC?
Answer
First we need to create an instance of a JDBC driver or load JDBC drivers, then we need to register this driver with DriverManager class. Then we can open a connection. By using this connection , we can create a statement object and this object will help us to execute the query.
View answer
Workspace
Report Error
Discuss