I am attempting to run a method that takes in an string and creates the object using the string as the object's variable:
public void createObj(String objName){
Obj objName = new Obj();
}
Is this even possible? If so, how may I accomplish it?