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

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation