public class RepeatTime private static String arrayStr;private static boolean searchStr(String arrayStr, String str1) for (int i = 0; i 1 k+;System.out.println(targetStr + “,“ + count);public static void main(String args) String str = “qabaabbwerabtyababuiopasdfghjkabl“;printStr(str);