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 is a lock in jdbc?

950


What is DML?

998


password, is stored in as plain text. What can I do to protect my passwords?

967


What is the reason why we need a jdbcrowset like the wrapper around resultset?

971


If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?

994


When do we get java.sql.SQLException: No suitable driver found?

960


What are the differences between resultset and rowset?

1125


How are jdbc statements used?

936


How can I retrieve a String or other object type without creating a new object each time?

1184


Is jdbc a web technology?

884


Is jdbc a framework?

893


How can I use the JDBC API to access a desktop database like Microsoft Access over the network?

1015


What are the advantages of collection pools?

1048


Is not bound in this context unable to find jdbc spring boot?

900


What are 4 drivers available in JDBC? At what situation are four of the drivers used?

958