 |
how to create dynamic two dimensional array in java? - Stack Overflow
Since the number of columns is a constant, you can just have an List of int[] . import java.util.*; //... List rowList = new ArrayList(); rowList.add(new int[] { 1, ...
stackoverflow.com |
 |