Simple question but I have spent over an hour with this. My code is below. I need to make SomeClass sc dynamic. So you pass the class name as a string in a function and use
Do you mean?
Class clazz = Class.forName(strClassName);