Write a static method that is passed a string and returns the reverse of that string.
You must use .substring() and a loop.
For example:
reverseString("mitchell") returns "llehctim"reverseString("tacocat") returns "tacocat"©2003–2016 Graham Mitchell
This assignment is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.
![]()