static void me() { String s = "abc"; StringBuilder sb = new StringBuilder(s); sb.reverse(); System.out.println(sb.toString()); }