Question d’entretien chez ServiceNow

Write a function that reverses an array in Java