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

What is a clone?

772


What does module-relative mean?

771


What method is invoked to cause an object to begin executing as a separate thread?

754


how do you Handle Front End Application data against DB with example?

1707


What are the steps to write p-to-p model application?

2151






What are various types of class loaders used by jvm?

697


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1954


Difference between loadclass and class.forname?

786


What is meant by method chaining?

857


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

760


What is an abstract method?

775


Define prototype?

784


What is local interface. How values will be passed?

751


What restrictions are placed on the values of each case of a switch statement?

726


what are the activation groupworks?

1846