20-21 >> SWS 316-1 | SWS 316-2 (Lec) (Metacourse) Write a method - static boolean equalityArrays(int[] array1, int[] array2) - to test the equality of two artys antay and array 2. as it is shown in the picture below: array 1 N 5 7 9 11 array 2 N 5 7 9 11 9 11 N+1N olla NE- IN 9 11 Two arrays are equal Paragraph BE Bonus question (2 points) Write a Java program to insert an element at a specific position of an array. Add your code in the main method. Hint: As presented in the figure below, suppose you have an array of 5 integers and you want to insert the value 35 in index position 2. Write the corresponding Java Code into an array. 0 1 2 3 4 Index 25 14 56 15 36 Value to be inserted 35 in index position 2 35 56 15 14 36 25 Index 5 3 4 2 3 0 A sample output can be Original Array : [25, 14, 56, 15, 36, 56, 77, 18, 29, 49] New Array: [25, 14, 5, 56, 15, 36, 56, 77, 18, 29] 20-21 >> SWS 316-1 | SWS 316-2 (Lec) (Metacourse) Write a method - static boolean equalityArrays(int[] array1, int[] array2) - to test the equality of two artys antay and array 2. as it is shown in the picture below: array 1 N 5 7 9 11 array 2 N 5 7 9 11 9 11 N+1N olla NE- IN 9 11 Two arrays are equal Paragraph BE Bonus question (2 points) Write a Java program to insert an element at a specific position of an array. Add your code in the main method. Hint: As presented in the figure below, suppose you have an array of 5 integers and you want to insert the value 35 in index position 2. Write the corresponding Java Code into an array. 0 1 2 3 4 Index 25 14 56 15 36 Value to be inserted 35 in index position 2 35 56 15 14 36 25 Index 5 3 4 2 3 0 A sample output can be Original Array : [25, 14, 56, 15, 36, 56, 77, 18, 29, 49] New Array: [25, 14, 5, 56, 15, 36, 56, 77, 18, 29]