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

Answer Posted / shital

Class is a predefined class & foreName is a static method
to load the driver for connectivity

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is connection data?

642


Describe the steps needed to execute a sql query using jdbc.

714


How do I connect to jdbc?

663


Explain jdbc savepoint?

714


What is executeupdate in java?

623






what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();

4646


What is the fastest type of JDBC driver?

771


What is xe in oracle jdbc url?

720


How do I start debugging problems related to the JDBC API?

704


What is jdbc in java?

642


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

695


How to insert an image or raw data into database?

723


What does jdbc stand for?

651


What do you understand by jdbc datasource?

765


Is there another way of dealing with the result set that could execute faster?

727