What is the use of Class.forName

Answer Posted / mamitha

It loads the neccessary driver at run time and provide the features based on the database connecting. forName() is the static method and class is a class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can I ask questions and make suggestions about seam?

599


What is the difference between a menuitem and a checkboxmenuitem?

590


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

587


Why a component architecture for the java platform?

583


Is infobus easy to use?

600






How is a java object message delivered to a non-java client?

578


Do you think that java should have had pointers?

606


Define prototype?

588


What are the different approaches to represent an inheritance hierarchy?

592


Why are component architectures useful?

575


what are memory considerations of jsp compares to other web components?

6020


What is an abstract method?

596


Which javutil classes and interfaces support event handling?

587


What is the difference between the session.get() method and the session.load() method?

604


What are callback interfaces?

595