Wednesday, 13 April 2011

What is Class.forName() does and how it is useful?

- It loads the class into the ClassLoader. It returns the Class. Using that you can get the instance ( “class-instance”.newInstance() ).

No comments:

Post a Comment