Class.forName()
Hi,
What is Class.forName() does and how it is useful? What does it do?
Thanks
View Answers
October 5, 2010 at 3:48 PM
It loads the class into the ClassLoader. It returns the Class. Using that you can get the instance ( "class-instance".newInstance() ).
Thanks
Related Tutorials/Questions & Answers: