πŸ“Š JAVA
Q. Which of the following step establishes a connection with a database?
  • (A) Execute a query using an object of type Statement.
  • (B) Open a connection using the DriverManager.getConnection () method.
  • (C) Register the JDBC driver, so that you can open a communications channel with the database.
  • (D) Import packages containing the JDBC classes needed for database programming.
πŸ’¬ Discuss
βœ… Correct Answer: (B) Open a connection using the DriverManager.getConnection () method.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
214
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
80%
Success Rate