Which of the following statements is true regarding the failing of the class.forName in jdk 1.1.x.

A) A workaround is to explicitly call the method DriverManager.registerDriver(new YourDriverClass).
B) The problem is due to race condition in the class loader.
C) The race condition prevents the static section of code in the driver class from executing and registering the driver with the DriverManager.
D) All the above.

Showing Answers 1 - 4 of 4 Answers

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions