[Java] String 뒤집기 (Reverse)

String words = "abcdefghijklmnopqrstuvwxyz";

String wordsReverse = new StringBuilder(words).reverse().toString();

System.out.println(wordsReverse); 


-> zyxwvutsrqponmlkjihgfedcba