@@ -0,0 +1,831 @@
+package com.javarush.task.task16.task1624;%0A%0A/* %0A%D0%9F%D0%BE%D1%81%D0%BB%D0%B5%D0%B4%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D1%8B%D0%B5 %D0%B2%D1%8B%D0%BF%D0%BE%D0%BB%D0%BD%D0%B5%D0%BD%D0%B8%D1%8F %D0%BD%D0%B8%D1%82%D0%B5%D0%B9%0A*/%0A%0Apublic class Solution %7B%0A    public static MyThread t = new MyThread();%0A    static String message = %22inside main %22;%0A%0A    public static void main(String a%5B%5D) throws Exception %7B%0A        t.start();%0A        t.join();%0A        for (int i = 0; i %3C 10; i++) %7B%0A            System.out.println(message + i);%0A            sleep();%0A        %7D%0A    %7D%0A%0A    public static void sleep() %7B%0A        try %7B%0A            Thread.sleep(10);%0A        %7D catch (InterruptedException e) %7B%0A        %7D%0A    %7D%0A%0A    static class MyThread extends Thread %7B%0A        String message = %22inside MyThread %22;%0A%0A        public void run() %7B%0A            for (int i = 0; i %3C 10; i++) %7B%0A                System.out.println(message + i);%0A                Solution.sleep();%0A            %7D%0A        %7D%0A    %7D%0A%7D

Complete task1624