import java.util.Arrays; public class Question02AB { public static void main(String[] args) { //a) Implement the mergeArrays function. (see below). //b) Test your function and output all three arrays to screen. int[] arr1 = {3, 1, 0, 6, 8, 5}; int[] arr2 = {4, 2, 9, 8}; int[] arr3 = mergeArrays(arr1, arr2); System.out.println(Arrays.toString(arr1)); System.out.println(Arrays.toString(arr2)); System.out.println(Arrays.toString(arr3)); } //a) Implement the mergeArrays function. public static int[] mergeArrays(int[] a, int[] b) { int[] c = new int[a.length + b.length]; //Copy all of array a into array c for (int i = 0; i