Which of the following are components of JDBC?a)JDBC-ODBC Bridge Driversb)JDBC Driver managerc)JDBC APId)All of the mentionede)JDBC Test suite
Question
Which of the following are components of JDBC?
a) JDBC-ODBC Bridge Drivers
b) JDBC Driver manager
c) JDBC API
d) All of the mentioned
e) JDBC Test suite
Solution
All of the mentioned options are components of JDBC.
a) JDBC-ODBC Bridge Drivers: This is a driver that implements JDBC by using the ODBC driver provided by Microsoft to connect to the database.
b) JDBC Driver Manager: This is a class that manages a list of database drivers. It matches connection requests from the java application with the proper database driver using communication subprotocol.
c) JDBC API: This provides programmatic access to relational data from Java. It is a Java API that is used to connect and execute the query to the database.
d) JDBC Test Suite: This helps to determine that JDBC drivers will run the application. It includes a large number of occasional tests and allows selective running of tests.
So, the answer is d) All of the mentioned.
Similar Questions
Which of the following are JDBC drivers?a)Network Protocol driverb)JDBC-ODBC bridge driverc)All of the mentionedd)Native-API drivere)Thin driver
_____ consists of a set of interfaces and classes written in the Java programming language.a)JDBC APIb)Embedded SQLc)JDBC Architectured)Connection Pools
Which of the following are classes of JDBC API?a)All of the mentionedb)Blob classc)Types classd)DriverManager classe)Clob class
Which package in Java provides the necessary classes and interfaces for JDBC?Question 5Answera.java.sqlb.java.dbc.javax.jdbcd.jdbc.connection
_______package is used for JDBC connection.a)None of the mentionedb)javax.sqlc)java.sqld)Both java.sql and javax.sql
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.