Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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]();
 
PREVIOUS NEXT
Tagged: #initialize #generic #array #java
ADD COMMENT
Topic
Name
1+6 =