Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What does Class.forName return?

Answer Posted / rajiv

hi......
Class.forName() is basically used to load the diver. forName() is static method thats why its directly call with class name( i:e Class)
which return java.lang.class object. n with the help of that object we establish the connection with database.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What causes the "No suitable driver" error?

1063


How a database driver can be loaded with jdbc 4.0 / java 6?

942


How can I get information about foreign keys used in a table?

971


What is a JDBC 2.0 DataSource?

975


What is the JDBC syntax for using a literal or variable in a standard Statement?

996


What is namedparameterjdbctemplate?

987


What protocol does jdbc use?

982


How does jdbc driver work?

987


Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?

1026


Why jdbc is used in java?

958


Give a way to check that all result sets have bin accessed and update counts are generated by execute method.

962


What are the standard isolation levels defined by JDBC?

1136


What is the use of dialect?

1014


What do you understand by jdbc datasource?

1028


What are the differences between execute, executequery, and executeupdate?

958