aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • JDBC Database Connectivity
  • To establish a connection with a database, you need to re...
Multiple choice

To establish a connection with a database, you need to register the ODBC-JDBC driver by calling____________.

  1. stock

  2. forName()

  3. next()

  4. executeQuery()

  5. getInputStream()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

To established a connection with a database, you need to register the ODBC-JDBC driver by calling this method.

Keep practicing — related questions

  • With reference to JDBC, arrange the following steps in ascending order: 1. Create Statement 2. Execute Quer...
  • In your program you want to use the JDBC-ODBC Bridge driver. What code do you use?
  • In JDBC ______________ used to create an instance of a driver and register it with the DriverManager. When ...
  • In JDBC ______________ used to create an instance of a driver and register it with the DriverManager. When ...
  • JDBC works on top of ODBC and then we have something called as ______________ to access the database.
  • SQLite database needs _________ connection.
  • ODBC binary code and in many cases database client code must be loaded on each client machine that uses ___...
  • what command is used to connect with Database?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy