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");
Example:
Class x=Class.forName("className");
Comments
Post a Comment