Java Program – for the subtraction of two matrices.

Output: