What is the use of Class.forName

Answer Posted / chaitanya

Class.for name is a Specially designed mechanism to load the drive class from secondary memory to the primary memory DYNAMICALLY.i;e we need create any object it will dynamically loads the class creates the object registers the object with Driver

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the difference between RMI and CORBA?

812


What is the purpose of the wait() method?

805


Explain the advantages and disadvantages of detached objects.

773


What is TL and its use?

2191


For which statements does it make sense to use a label?

788






What’s jboss cache in short?

812


Define the remote object implementation?

2170


What is jboss?

758


Explain about local interfaces.

778


Can I run seam with jdk 1.4 and earlier?

727


How can I scroll through list of pages like the search results in google?

753


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

785


How would you detect a keypress in a jcombobox?

861


How messaging services are done, before release of JMS?

1793


How would you create a button with rounded edges?

743