So erhalten Sie die Dimensionen eines 2D -Arrays in Java
public class Main {
public static void main(String[] args) {
int[][] test = new int[10][4];
int rows = test.length;
int coloumns = test[0].length;
System.out.println(rows);
System.out.println(coloumns);
}
}
Cheerful Cottonmouth