What is the use of Class.forName

Answer Posted / gopalramana

class.forName("abc.class")
loads ths class and create instance in JVM.

Is This Answer Correct ?    2 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of the notify() method?

818


What is meant by method chaining?

884


What is table mutation and how do you avoid it?

2143


What is the immediate superclass of the applet class?

832


Do you think that java should have had pointers?

809


What is the difference between RMI and Corba?

2480


What is the argument type of a programs main() method?

814


Have you used threads in Servelet?

2211


whats is mean by connectionpooling

1770


What is ripple effect?

845


What is synchronization and why is it important?

758


What is local interface. How values will be passed?

764


When a thread blocks on i/o?

786


What’s jboss jbpm?

757


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

808