@@ -0,0 +1,672 @@
+import java.util.Arrays;%0A%0Aclass anagram%7B%0A%09public static void main(String %5B%5D args)%0A%09%7B%0A%09%09String orig = %22Hello world ? world hello%22;%0A%09%09String%5B%5D compare = orig.split(%22%5C%5C?%22);%0A%09%09%0A%09%09String corr_str1 = compare%5B0%5D.replaceAll(%22%5B%5Ea-zA-Z%5D+%22,%22%22);%0A%09%09String corr_str2 = compare%5B1%5D.replaceAll(%22%5B%5Ea-zA-Z%5D+%22,%22%22);%0A%09%09char ch1%5B%5D = corr_str1.toLowerCase().toCharArray();%0A%09%09char ch2%5B%5D = corr_str2.toLowerCase().toCharArray();%0A%09%09Arrays.sort(ch1);%0A%09%09Arrays.sort(ch2);%0A%09%09String sorted_string1 = new String(ch1);%0A%09%09String sorted_string2 = new String(ch2);%0A%09%09System.out.println(sorted_string1);%0A%09%09System.out.println(sorted_string2);%0A%09%09System.out.println(sorted_string1.equals(sorted_string2));%09%0A%09%7D%0A%7D%0A

Create anagram.java