Pregunta de entrevista de TCS

Java string reverse program was asked