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 must a class do to implement an interface?

669


why static class in java

1371


What is the RMI and Socket?

710


Can I have an action without a form?

688


Is infobus easy to use?

681






What are the sequence of steps to write pub or sub model kind of application?

2059


What are the different types of exception?

672


What is the difference between the string and stringbuffer classes?

634


What is the difference between the font and fontmetrics classes?

655


What is JTS?

1943


What is the relationship between local interfaces and container-managed relationships?

701


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2657


whats is statement and procedure

1683


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1747


What is the highest-level event class of the event-delegation model?

661