瀏覽代碼

all complete with tests corrected.

Dylan Camac 6 年之前
父節點
當前提交
14f69d0643

+ 5
- 1
src/main/java/com/zipcodewilmington/danny_do_better_exercises/StringUtilities.java 查看文件

83
      * @return an identical string with characters in reverse order.
83
      * @return an identical string with characters in reverse order.
84
      */
84
      */
85
     public static String reverseTheTwo(String stringToReverse){
85
     public static String reverseTheTwo(String stringToReverse){
86
-        return stringToReverse;
86
+
87
+        String myString = new StringBuilder(stringToReverse).reverse().toString();
88
+
89
+
90
+        return myString;
87
     }
91
     }
88
 }
92
 }

二進制
target/classes/com/zipcodewilmington/danny_do_better_exercises/StringUtilities.class 查看文件