@@ -0,0 +1,1100 @@
+public class Issue01 extends Thread %7B%0A%0A    public static int count = 0;%0A    public static int sleepSeconds = 5000;%0A    public static boolean completed = false;%0A    public static boolean waitNext = false;%0A    public static String outputText = %22----------AAAA-----------%22;%0A%0A    public static void main(String%5B%5D args) %7B%0A        %0A        new Thread(new CheckCounting()).start();%0A        new Thread(new Issue01()).start();%0A    %7D%0A%0A    @Override%0A    public void run() %7B%0A        try %7B%0A            for (; count %3C= 10500; count++) %7B%0A                waitNext = false;%0A                System.out.println(count);%0A                sleep(sleepSeconds);%0A            %7D%0A            completed = true;%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%7D%0A%0Aclass CheckCounting extends Thread %7B%0A%0A    @Override%0A    public void run() %7B%0A        while (!Issue01.completed) %7B%0A            if ((Issue01.count %25 50 == 0) && (!Issue01.waitNext) && (Issue01.count != 0)) %7B%0A                System.out.println(Issue01.outputText);%0A                Issue01.waitNext = true;%0A            %7D%0A%0A        %7D%0A    %7D%0A%7D%0A

Create ThreadIncrementNumbers.java