Let's say I have a string which holds a variable name as such:
String myList = "arrayList1";
Is there a way to create an ArrayList for example with that name, kind of like this
ArrayList<String> "myList" = new ArrayList<String>;
The variable name is not known until runtime, thats my problem. I'm building a few result sets from an xml file and putting them into arraylists, then a routine to read from the arraylists. So my problem is how to be able to reference those arraylists.