Pregunta de entrevista de Tata Consultancy Services

Java code to reverse an array