Source of 7.17.java


  1: public static void displayArray(int array[], int first, int last) 
  2: {
  3:    if (first <= last)
  4:    {
  5:       displayArray(array, first, last - 1);
  6:       System.out.print(array[last] + " ");
  7:    } // end if
  8: } // end displayArray
  9: // Version 4.0