Use of java Class.forName

Class.forName use to load the class at run time. Which means its create instance of the class at run time, so that all static, block , variable ,class instance are available.

Example:

Class x=Class.forName("className");

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept