@@ -0,0 +1,245 @@
+// http://codingbat.com/prob/p152339%0A%0Apublic String repeatEnd(String str, int n) %7B%0A  StringBuilder output = new StringBuilder();%0A  for (int i = 0; i %3C n; ++i) %7B%0A    output.append(str.substring(str.length()-n));%0A  %7D%0A  return output.toString();%0A%7D%0A

Create repeatEnd.java