initialize generic array in java code example
Example: initialize generic array java
//It is recommended to use collections of generics because arrays of generics are a bit problematic in some cases
List<String>[] arrayOfList=(List<String>[])new List[100]();