public class Test{public static void main(String[] args){int[] A = new int[]{1,2,3,4,5,6,7,8,9};int[] B = Test.reverse(A);}public static int[] reverse(____(1)____){for(int i=0;____ (2)______;i++){int temp = A[A.length-i-1];_______(3)_____;A[i] = temp;}return A;}}