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 / prashant

Class.forNmae first loads the class in current classLoader so as to use that in future. Internally DriverManager gets the reference of the driver by using dynamic laoding (nothing is magical) this is is the reason when you say manager.GetConnection() it returns connection using the loaded driver

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are all the required JDBC drivers to establish connectivity to my database part of the JDK?

1032


What are the 4 types of jdbc drivers?

1092


Does jdbc require oracle client?

987


What do you understand by jdbc statements?

1092


Explain the various types of locking system in jdbc?

948


What is a merge field?

989


What are the differences between resultset and rowset?

1192


What class.forname does, while loading the drivers?

1035


What is JDBC Connection isolation levels?

1128


Why do we use jdbc in java?

1121


What do you understand by jdbc driver and explain its types?

996


Explain the steps in writing a java program using jdbc?

1028


How can I manage special characters when I execute an insert query?

987


What is metadata in jdbc?

1076


What are the higher level apis under development on top of jdbc currently?

1010