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 is threadfactory?

621


what is a non-repeatable read?

1834


What is the difference between a static and a non-static inner class?

598


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

676


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

605






What are various types of class loaders used by jvm?

501


What is an abstract method?

596


Describe, in general, how java's garbage collector works?

540


What is a tasks priority and how is it used in scheduling?

552


Difference between swing and awt?

608


what are the activation groupworks?

1679


what is meant by JRMP?

1811


What class is the top of the awt event hierarchy?

586


Explain ioc concept?

628


Which container method is used to cause a container to be laid out and redisplayed?

671