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 are the sequence of steps to write pub or sub model kind of application?

1895


Why are my checkboxes not being set from on to off?

650


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

578


When a thread blocks on i/o?

573


What is TL and its use?

1993






What class is the top of the awt event hierarchy?

584


what is Activation Instantinator?

1917


What value does read() return when it has reached the end of a file?

556


What you mean by COM and DCOM?

619


How task's priority is used in scheduling?

1786


What is Remote Server?

1688


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

565


How are the elements of a cardlayout organized?

596


Is infobus easy to use?

600


What is the form of storage space in java?

1744