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 is the use of Class.forName

Answer Posted / amol sawant

Class.forName(driver);

in this "Class" is the name of the Object of "Class" class
which is in sql package
and forName();
is method of that class "Class"
it will load the driver for connection purpose

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I import same package/class twice? Will the jvm load the package twice at runtime?

1090


How can I avoid validating a form before data is entered?

966


What is the purpose of the wait(), notify(), and notifyall() methods?

975


What is a class loader? What are the different class loaders used by jvm?

1059


Why are my checkboxes not being set from on to off?

1090


How would you detect a keypress in a jcombobox?

1089


What are the benefits of detached objects?

1015


Explain RMI Architecture?

1038


What restrictions are placed on the location of a package statement within a source code file?

1059


What is the difference between session and entity beans?

1053


Can I have an action without a form?

1053


Why do threads block on i/o?

1184


What is the difference between a menuitem and a checkboxmenuitem?

1036


What is JTS?

2310


What are the design considerations while making a choice between using interface and abstract class?

1023