Pregunta de entrevista de Tata Consultancy Services

write a java program to reverse a string