Tag: java class.forname newinstance

forName() newInstance() Methods in Java

June 1, 2013 · 1 min read
##### forName() newInstance() Methods: We have seen earlier, how to create an object without new keyword by [**cloning**](http://way2java.com/java-lang/cloning-%e2%80%93-duplicating-an-object-marker-interface/) using the marker interface **Cloneable**. Now, Let is us see another style using **forName()** and **newInstance()** methods of class java.lang.Class.