initialize generic array java

Solutions on MaxInterview for initialize generic array java by the best coders in the world

showing results for - "initialize generic array java"
Francesco
22 Nov 2019
1//It is recommended to use collections of generics because arrays of generics are a bit problematic in some cases
2List<String>[] arrayOfList=(List<String>[])new List[100]();