This is all I could come up with and I can't figure out how to get them to add up together.

public class UtilityMatrix { public static int[][] addMatrix(int[][] a, int[][] b) { int[][] c = new int[3][3]; for ( int i = 0; i<a.length; i++){ for( int j = 0; j<a[i].length; j++){ } return c; } }