@@ -0,0 +1,465 @@
+import java.util.Scanner;%0A%0Apublic class reverse_string %7B%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Scanner s = new Scanner(System.in);%0A%09%09System.out.println(%22Please inter a word you wish to reverse%22);%0A%09%09String word = s.nextLine();%0A%09%09String word_reversed = Reverse(word);%0A%09%09%09%09%0A%09%09System.out.println(word_reversed);%0A%09%7D%0A%0A%09public static String Reverse(String word) %7B%0A%09%09if(word.isEmpty()) %7B%0A%09%09%09return word;%0A%09%09%7D%0A%09%09return Reverse(word.substring(1)) + word.charAt(0);%0A%09%7D%0A%7D%0A

reverses a string