What is the use of Class.forName

Answer Posted / p.kodanda rami reddy

the use of class.forName is Loading the driver
class is a class and forName is a static method.
accepting a string argument represented as the driver.

Is This Answer Correct ?    44 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a class a subclass of itself?

596


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

610


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1115


Why is string immutable in java?

590


Are enterprise beans allowed to use thread.sleep()?

657






Is jvm a overhead?

637


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

653


What are callback interfaces?

597


What is synchronization and why is it important?

555


How many times may an objects finalize() method be invoked by the garbage collector?

682


Which textcomponent method is used to set a textcomponent to the read-only state?

640


what are the activation groupworks?

1686


Explain the difference between object state and behavior?

581


Where can I find seam examples and documentation?

575


Do I have to use jsps with my application?

589