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

Name the eight primitive java types.

606


What is the relationship between an event-listener interface and an event-adapter class?

565


What are the diff types of exception?

569


How will you pass parameters in RMI? Why do you serialize?

710


Is the infobus client side only?

619






A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

1823


What is the difference between java class and bean?

590


What event results from the clicking of a button?

706


What is the map interface?

621


Write a program to show synchronization?

700


How to pass parameters in RMI?

1699


Is infobus easy to use?

607


Java is fully object oriented languages or not?

552


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

1743


what is Activation Instantinator?

1919