Pergunta de entrevista da empresa Tata Consultancy Services

Java code to reverse an array