Apisero interview question

How to reverse an array in Java?