I haven\'t found anything with the specific needs of my function to do this, yes, it is for homework.
So I have:
public void reverseArray(int[] x) {
Calling reverseArray(0, n, arr) here n is length of array
public void reverseArray(int i, int n, int [] arr) { if(i==n) { return ; } else { reverseArray(i+1, n, arr); System.out.println(arr.at(i)); } }