SyntaxFix
Write A Post
Hire A Developer
Questions
Class.forName("ClassName") will solve your purpose.
Class class1 = Class.forName(ClassName); Object object1 = class1.newInstance();