Double matrice
public class DoubleMatrix {
public static void main(String[] args) {
int array[][] = {
{1, 2, 3},
{4, 5, 6},
{7, 8, 9}
};
int n[][] = new int[3][3];
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
n[i][j] = array[i][j] * 2;
System.out.print(n[i][j] + " ");
}
System.out.println();
}
}
}
Breakable Boar