Apisero Interview Question

How to reverse an array in Java?