How would the following code print the array?

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

There are no hints for this question