In normal array list initialization, We used to define generic type as follows,
List list1 = new ArrayList();
B
If you (really) want a list of lists, then this is the correct declaration:
List> listOfLists = new ArrayList>();
We can't create generic arrays. new List[0] is a compiletime error.
new List[0]