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 jpa faster than jdbc?

887


What are the classes and methods used for sending sql statements to database?

1082


How do you determine the sensitivity of the ResultSet object?

994


How many packages are available in jdbc api?

961


Is jdbc a protocol?

937


What does executeupdate return in jdbc?

979


What is jdbc and its advantages?

1065


Why isn't the java.sql.DriverManager class being found?

1002


What are the flow statements of jdbc?

1010


What is while rs next ())?

947


How to check jdbc connection in linux?

1031


Explain creation of statement object with connection method create method with help of an example.

977


What are the different types of drivers under jdbc?

853


Which type of driver provides jdbc access via one or more odbc drivers?

906


How to check jdbc driver version in sql server?

968