
public class Reverse{
  public void run() {
     int a[] = {1, 2, 3, 4, 5};
     int x[] = {5,6,7,8,9,10};
     printArray(a);  
     printArray(x);
     reverseArray(a);
     printArray(a);
     //reverseArray(x);
     printArray(x);

     int[] y = {100,200,300};
     y = x;
     y[2] = 30;
     printArray(x);
     printArray(y);
     
  } // run

  public void printArray(int b[]){
     for (int i = 0; i < b.length ; i++)
         System.out.print(b[i] + " ");
     System.out.println();
  }

  public void reverseArray(int b[]){
     // what should we do here?










     printArray(b);
     
  }
public static void main(String args[]) {
  Reverse myApp = new Reverse();
  myApp.run();
} // main

} // end of class

