Write a method reverse(A) that takes an array of integers A and reverses its order, using the entire physical size of the array. What was last becomes first and what was first becomes last. Think carefully about how to do this before writing it. Make sure your idea works on an example.

 

    [Language: Java  Kind: function definition]