dcsimg

How do I create an instance object of a class when I have the class name in a String?

John Mitchell

Use the java.lang.Class.forName(String) and java.lang.Class.newInstance() methods.