How would the following code print the array?

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

There are no hints for this question