whats is mean by class.forName()
whats the return type of class

Answer Posted / habin

Its way to dynamically loading a class to Java run time environment.For example, when a new request comes to ur server,the request processor class has to be loaded to java run time.there this code is used.
class.forName("fully qualified name of request processor")

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What classes of exceptions may be caught by a catch clause?

544


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

683


What are the different methods of identifying an object?

562


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

580


What is Stream Tokenizer?

1722






What is an abstract method?

585


How are the elements of a cardlayout organized?

587


What do you mean by Socket Programming?

540


What’s jboss jbpm?

571


Where can I ask questions and make suggestions about seam?

581


What are externizable interface?

571


What are callback interfaces?

584


What’s jboss cache in short?

582


whats is statement and procedure

1579


Is jvm a overhead?

613