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

Answer Posted / girija shankar shadangi

this method creates object of driver class(which contains all he data like address of a driver and all the details of the driver)and registers the object to the JVM.it means making the object available to the jvm,so that jvm can use this object for its further operation internally.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the locking system in jdbc?

525


What is jdbc explain?

482


What is data source in java?

516


What is the jdbc rowset?

530


explain about special characters?

524






How to check jdbc driver version in sql server?

467


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

506


Is it possible to connect to multiple databases simultaneously?

540


What causes the "No suitable driver" error?

524


What is the difference between jdbc and odbc?

518


What is the purpose of jdbc resultset interface?

562


Is jdbc open source?

444


What are the three parts of a jdbc url?

563


Write an sql to find all records having all upper case alphanumeric characters in a field ?

511


Differentiate between stored procedure and functions?

608