Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to make an array of arraylists in java

ArrayList<Integer> [] myList = (ArrayList<Integer>[]) new ArrayList[4];
 
PREVIOUS NEXT
Tagged: #array #arraylists #java
ADD COMMENT
Topic
Name
2+2 =