How would the following code print the array?

public static void displayArray(int[] array, int first, int last)
{
  if (first < last)
    displayArray(array, first + 1, last);
  System.out.print(array[first] + " ");
}
In reverse order
  • In order
  • Neither of these answers are correct

There are no hints for this question