1234567891011121314151617public class Start02 { public String reverseStr(String str){ int num = str.length(); int[] temp = new int[num]; String tempStr = ""; for(int i = num-1; i >= 0; i--){ temp[i] = (int)str.charAt(i); tempStr += (char)temp[i]; } return str =tempStr; } public static void main(String[] args) { Start02 rs = new Start02(); System.out.println( rs.reverseStr("Zbcdefg") ); }}Colored..