How would the following code print the array?

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

There are no hints for this question