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 is the diffrence between a local-tx-datasource and a xa-datasource?

585


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2161


Is the ternary operator written x : y ? Z or x ? Y : z ?

643


whats is statement and procedure

1597


How is a java object message delivered to a non-java client?

583






Explain about RMI Architecture?

619


Is the infobus client side only?

619


What modifiers may be used with an inner class that is a member of an outer class?

582


What is table mutation and how do you avoid it?

1921


Which javutil classes and interfaces support event handling?

592


What are the purpose of introspection?

686


What is RMI and what are the services in RMI?

616


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2268


What class is the top of the awt event hierarchy?

586


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

582