1. StringBuffer 의 reverse 메소드 사용
StringBuffer sf = new StringBuffer(“Have a great holiday!”) System.out.println(sf.reverse());
http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuffer.html#reverse()
2. 한글자씩 거꾸로 더하는 방법
public static String reverse(String source){ String reverse=””; int l = source.length(); for(int i = l-1; i>=0; i–){ reverse = reverse+source.charAt(i); } return reverse; }