Try it and see. It turns out you can't create what the compiler calls a "generic array" of ArrayList. That's why I used a collection (list or map).
Type: Posts; User: pbrockway2
Try it and see. It turns out you can't create what the compiler calls a "generic array" of ArrayList. That's why I used a collection (list or map).
ArrayList test = "list" + one + two;
In Java - unlike PHP, say - you can't create variables like that.
Instead of (or as well as) using variables list01, list02 etc, put the lists into...