Like the title says, I am trying to instantiate an ArrayList with type of a class that I want to be an array. Probably I did not explain it correctly in technical terms, so let's just look at a pseudo code:
List<TestClass[5]> lTestList = new ArrayList<TestClass[5]>();
Where should I specify the size of the TestClass type array? Apologies if my explanation does not make much sense as I am still learning.
arrayofgeneric objects. For example, you can't make an array ofList<TestClass>likeList<TestClass>[]. Of course, you can make a List of non-generic arrays, as such,List<TestClass[]>. I just figured it's interesting to know in case you didn't.