S

Satya • 3.38K Points
Extraordinary

Q. Which method is used to close a JDBC connection?

  • (A) end()
  • (B) close()
  • (C) disconnect()
  • (D) terminate()
  • Correct Answer - Option(B)
  • Views: 6
  • Filed under category Java JDBC
  • Hashtags:

Explanation by: Satya
The close() method releases database resources and closes the connection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.