Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

declar 2-d arraylist

ArrayList[][] table = new ArrayList[10][10];
table[0][0] = new ArrayList(); // add another ArrayList object to [0,0]
table[0][0].add(); // add object to that ArrayList
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #declar #arraylist
ADD COMMENT
Topic
Name
4+6 =