Public class multimatrix {int [] MultiplyMatrix; public static void main (string args []) {int [] [] a = {{1, 0, 3, -1}, {2, 1, 0, 2} }; Int [] [] b = {{4, 1, 0}, {- 1, 1, 3}, {2, 0, 1}, {1, 3, 4}}; Multimatrix mm = New MultiMatrix ); Mm.mmatrix (a, b); mm.display ();
} Public void mmatrix (int [] [] a, int [] [] b) {multiplymatrix = new int [a.length] [b [0] .length]; for (int i = 0; i