Which method is used to close a JDBC connection?
Java MCQ: Which method is used to close a JDBC connection? a) terminate() b) close() c) shutdown() d) disconnect() Answer: b) close() Explanation: The close() method is used to close a JDBC connection. This method is called on the Connection object to release the database resources associated with the connection. It is important to close […]
Which method is used to close a JDBC connection? Read More »