what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail

Answer Posted / prabhakaran

Class is a predefined class and forName is the static
method of the class which is used to load the driver
dynamically in the client machine at runtime

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the importance of drivermanager.

716


What are the new features added to JDBC 4.0?

541


What does adapter class provide?

527


What is thin driver in jdbc?

510


Jdbc-odbc bridge is multi-threaded or not?

532






How will you perform truncation using JDBC?

579


How many types of jdbc drivers are available?

496


Does jdbc use ssl?

500


Explain the process of creating tables using NetBeans IDE?

528


Where is jdbc url mysql?

500


What does jdbc do?

531


Explain Basic Steps in Writing a Java Program Using Jdbc?

600


What is the most common example type 1 driver?

598


What does the connection object represents?

561


Prepared statements are faster. Why?

611