What is the correct answer?


DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.

A. True.

B. False.

Correct Answer :

B. False.

Related Questions

The check box group class is a subclass of the component class. We would like to make a member of a class visible in all subclasses regardless… Any class may be inherited by another class in the same package. Objects are passed to a method by use of call-by-reference. Members of a class specified as private are accessible only to the methods… DataInput is Which of the following are the wrapper classes? In a single Servlet class we can use____________ The default case is always required in the switch selection structure. The break statement is required in the default case of a switch selection… class.forName(...) creates an instance of java ODBC driver We can over load methods with differences only in their return type. It is an error if a class with one or more abstract methods is not explicitly… When X is a positive number the operations x>> 2 and x>>>2… Which of the following are keywords? In evaluating a logical expression of type 'Boolean expression 1&& Boolean… Which of the following will produce a value of 10 if x = 9.7? Consider the following statements: int x = 10, y = 15; x = ((x < y)… What is error in the following class definitions? abstract class… What is wrong in the following class definitions? abstract class… Throwing an exception always causes program termination. Which of the following control expressions are valid for an if statement? The name of a Java program file must match the name of the class with… Which are the valid ways to create DataInputStream streams? Consider the following class definitions: class maths { student student1;… The expression (x == y && a<b) is true If either x == y is true or… A static class method can be invoked by simply using the name of the method… Which of the following command lines options generates documentation for… A JSP file can be stored_________________ Every call to wait has a corresponding call to notify that will eventually…