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

How to check jdbc connection in java?

933


How does jdbc driver work?

984


How to rollback a JDBC transaction?

1096


Which interface is responsible for transaction management in jdbc?

1023


What happens if connection is not closed in jdbc?

979


Explain about the drive manager class working?

1114


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

1007


How do I check in my code whether a maximum limit of database connections have been reached?

992


What is jsp and jdbc?

914


Explain the necessary steps to connect to the database in java?

1048


What is db client?

978


What is the role of class.forname while loading drivers?

1009


How do I know which jdbc driver to use?

1009


What is JDBC Driver interface?

1131


Is jdbc part of j2ee?

981