Java Program for the addition of two matrices.

Output: