Reverse an array in Java

Reversing an array in java can be done using a simple for loop or in-built api Collections.reverse method.