I want to create a list typed to the name of a class from a string. For example,
String nameOfClass = "com.my.list.class";
List list = new ArrayList<nameOfclass>();
I only know the type of class to be inserted into List in runtime in text format.
Is this possible?
ListofObjects.namein the class and set it?