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 how to make updates to the updatable resultsets.

676


What is jdbc connection?

796


What is the use of setFetchSize() and setMaxRows() methods in Statement?

691


Differentiate between a statement and a preparedstatement.

662


What are different types of ResultSet?

754






What is a jdbctemplate?

676


Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?

769


What is an encrypted internet connection?

662


What is an odbc driver?

661


What are the main components of JDBC ?

749


What is the return type of class.forname() method?

699


Why do we use jdbc statements?

680


Describe how the jdbc application works.

695


What are clob and blob data types in jdbc?

742


What is the feature of jdbc v4?

676