Reverse String: write a function that reverses a string: string as input, reverse //and return the new string code example
Example: java string reverse
String rev = new StringBuilder("Your String").reverse().toString();
String rev = new StringBuilder("Your String").reverse().toString();