Przeglądaj źródła

reverse-string: add argument to initial solution (#1070)

* changed initial reverse string stub to include argument

* change reverse string initial solution argument to match ref solution
Brandon Kiefer 8 lat temu
rodzic
commit
3eb6e52192

+ 2
- 2
exercises/reverse-string/src/main/java/ReverseString.java Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 class ReverseString {
2
-  
3
-    String reverse(String stringToReverse) {
2
+
3
+    String reverse(String inputString) {
4 4
         throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
5 5
     }
6 6