I have composed a java program to play out a simple matrix multiplication. For framework duplication the section of the primary grid ought to be equivalent to the line of the subsequent network, then no one but we can perform matrix multiplication.

package com.example.demo; public class MatrixMultiplication { public static void main(String[] args) { int a[][] = {{1,2,3},{4,5,6},{7,8,9}}; int b[][] = {{1,2,3},{4,5,6},{7,8,9}}; int c[][] = new int[3][3]; //rows - 3 and columns -3 for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { c[i][j] = 0; for (int k = 0; k < 3; k++) { c[i][j]+= a[i][k]*b[k][j]; } System.out.print(c[i][j]+" "); } System.out.println(); } } }

What would be the output of this program?