In your program you want to use the JDBC-ODBC Bridge driver. What code do you use?
Class.callName("sun.jdbc.odbc.JdbcOdbcDriver");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Class.callfunc("JdbcOdbcDriver");
Class.Name.init("sun.jdbc.odbc.JdbcOdbcDriver");
To use the JDBC-ODBC Bridge driver in a program, you would use the following code:
The Answer is: B
Explanation:
The correct code to use when you want to make use of the JDBC-ODBC Bridge driver is:
Option A is incorrect because there is no method callName() that can be used to call the driver.
Option C is incorrect because there is no method callfunc() that can be used to call the driver.
Option D is incorrect because there is no method init() available in the Class.Name package.