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 the method Class.forName returns?

Answer Posted / priyank jain

Static method Class.forName(String className) returns the
Object for the classname specified in argument passed to
method.
Also Class.forName used to load drivers.
Ex. In JDBC call
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
automatically creates an instance of a EmbeddedDriver and
registers it with the DriverManager.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is jdbc and orm?

931


What is a jdbc connection pool?

934


Is possible to open a connection to a database with exclusive mode with JDBC?

964


Explain the steps in writing a java program using jdbc?

938


What is an SQL Locator?

1131


What is an odbc driver?

911


What is savepoint in jdbc?

913


What is resultset?

994


How MS-Access DB can be accessed over a network, using JDBC API?

2430


Explain Basic Steps in Writing a Java Program Using Jdbc?

1058


What is hbm xml?

872


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

972


How can we retrieve data from the resultset?

978


Why we use while rs next ())?

957


What does executeupdate return in java?

1027