@@ -0,0 +1,1049 @@
+package javaapplication5;%0A%0Apublic class JavaApplication5 extends Thread %7B%0A%0A    public static int nombor = 1;%0A    public static char huruf = 'A';%0A%0A    public static void main(String%5B%5D args) %7B%0A        new Thread(new JavaApplication5()).start();%0A        new Thread(new PrintA()).start();%0A    %7D%0A%0A    @Override%0A    public void run() %7B%0A        try %7B%0A            for (; JavaApplication5.nombor %3C= 10; JavaApplication5.nombor++) %7B%0A                if (JavaApplication5.nombor == 6) %7B%0A                    sleep(100);%0A                %7D%0A                System.out.print(JavaApplication5.nombor + %22 %22);%0A            %7D%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%7D%0A%0Aclass PrintA extends Thread %7B%0A%0A    @Override%0A    public void run() %7B%0A        while (true) %7B%0A            if (JavaApplication5.nombor == 6) %7B%0A                for (int i = 0; i %3C 10; i++) %7B%0A                    System.out.print(JavaApplication5.huruf);%0A                %7D%0A                System.out.print(%22 %22);%0A                break;%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Create JavaApplication5.java