I’m in intro to Java can you write this program inprintf
(Identical arrays) The arrays myArray1 and myArray2 areidentical if they
have the same contents. Write a method that returns true ifmyArray1 and
myArray2 are identical, using the following header:
public static boolean isIdentical(int[] myArray1, int[]myArray2)
Note that “identical” means that the same numbers are in eacharray but not
necessarily in the same order. Hint: Sort the arrays beforecomparing their elements.
Write a test program that prompts the user to enter two arraysof integers
and displays whether the two are identical. The first number in theinput
indicates the number of the elements in the list. This number isnot part
PayPal Gateway not configured
PayPal Gateway not configured