Java Program – for the multiplication of two matrices.

Output: