StringBuilder#reverse
StringBuffer sb = new StringBuffer();sb.append("123");sb.reverse();System.out.println(sb.toString());