Procházet zdrojové kódy

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 před 8 roky
rodič
revize
3eb6e52192

+ 2
- 2
exercises/reverse-string/src/main/java/ReverseString.java Zobrazit soubor

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