### Question:
ArrayUtilityMethods { public static boolean arraysSame(int[] a1, int[] a2) { if (a1.length != a2.length) { return false; } else { var answer = false; for (var i = 0; i < a1.length; i++) { if (a1[i] == a2[i]) { answer = true; } else { answer = false; break; } } return answer; } }  static boolean arraysSame(int[] a1, int[] a2); static boolean matricesSame(int[][] m1, int[][] m2); static int[][] createRandomIntMatrix(int rows, int columns); static void printMatrix(int[][] matrix);  }### Answer:
@Test void arraysSameTest() { var arr1 = new int[]{1, 4, 2, 6}; var arr2 = new int[]{1, 4, 2, 6}; assertTrue(ArrayUtilityMethods.arraysSame(arr1, arr2)); }