String[][] strArr = {{"1","2"},{"3","4"}};
int[][] intArr = new int[strArr.length][];
for(int i = 0; i < strArr.length; i++){
intArr[i] = new int[strArr[i].length];
for(int j = 0; j< strArr[i].length; j++){
intArr[i][j] = Integer.parseInt(strArr[i][j]);
}
}
String[] sArray = {"1", "2", "3", "4"};
int[] iArray = new int[sArray.length];
for (int i = 0; i < sArray.length; i++) {
iArray[i] = Integer.parseInt(sArray[i]);
}
static String[][] readMatrix() {
In.open("Matrix.txt");
int n = 4;
String[][] a = new String[n][n];
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
a[i][j] = In.readString();
}
}
In.close();
return a;
}