Reverse a string
For example: input: "cool" output: "looc"
For more help on how to solve this exercise, please refer to the tutorial provided as part of the hello world exercise.
Sign up to Exercism to learn and master Java with 17 concepts, 130 exercises, and real human mentoring, all for free.