Pregunta de entrevista de J.B. Hunt Transport

How would you reverse a string in Java?