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

How will you perform truncation using JDBC?

942


Explain about Join?

960


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

937


What is jdbc odbc bridge in java?

1002


What is jdbc and explain jdbc architecture?

947


What is jdbc databasemetadata interface?

988


What does the jdbc connection interface?

923


What is a jdbc connection pool?

871


What is meant by jdbc?

878


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

4951


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

896


Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?

837


Which interface is responsible for transaction management in jdbc?

959


Which package is used for jdbc application?

920


How to insert an image or raw data into database?

948