Question: import static java. lang. System. out; / / A 1 A 2 public class MultiAry { public static void main ( String [ ] args

import static java. lang. System. out;
// A1 A2
public class MultiAry {
public static void main(String[] args){
int [][] Al ={{8,6},{4,4}};
int [][]A2={{1,6,8},{4,4,8},{10,10,8}};
out. print ln("1: ;
show (A1);
out. print 2: );
show (A2);
out. print : ");
}
MatrixMulti(A1, A2);
//--
static void MatrixMulti(int[][] Ary1, int[][] Ary2)
int[][] matrix =
new int[Ary1. length][Ary2[0]. length];
for
:
j
}
show (matrix); //
//--
static void show(int[][] data){
for
}
}
:
Al:
8|6|
4|4|
A2 :
\table[[1,6,8],[10,10,8]]
68|108|112|
44|64|64|
 import static java. lang. System. out; // A1 A2 public class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!