Given an input string. Write a function to reverse a string. In this tutorial, I have explained a simple iterative approach to reverse a string in java.
Reverse a string using stack -
Reverse a string using recursion -
Reverse each words of a string -