Java: How do I make a loop which creates arrays? -
i need big series of arrays, right creating them manually:
int[] row1 = new int[3]; int[] row2 = new int[3]; int[] row3 = new int[3];
i create these in array, this:
public final int size = 3; (int = 1;i <= 3;i++) int[] row[i] = new int[3];
but not sure how generate arrays in loop.
how do this?
specifically, how generate dynamic identifiers on each iteration?
java arrays
No comments:
Post a Comment