Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jagged array java

int[][] numbers = new int[7][];

// row 0 gets 5 columns
numbers[0] = new int[5];
// row 1 gets 11 columns
numbers[1] = new int[11];
// etc...
 
PREVIOUS NEXT
Tagged: #jagged #array #java
ADD COMMENT
Topic
Name
2+1 =