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

How to know howmuch data is truncated?

2415


What is jdbc connection interface?

1081


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

1028


What is jdbc thin client?

1013


How do I insert/update records with some of the columns having NULL value?

988


How data can be inserted into long row column of database?

2180


what happen if we set JDBC string to NULL?

3451


What is jdbc odbc bridge in java?

1122


What is metadata in java programming?

1090


Explain how data flows from view to db and reverse

2090


What is benefit of using preparedstatement in java?

975


How can I create a custom RowSetMetaData object from scratch?

1046


Why resultset is used in java?

988


How java can be connected to a database?

1160


Does sql allow null values ?

1030