reverse string in java fun code example Example: java string reverse String rev = new StringBuilder("Your String").reverse().toString();