@@ -0,0 +1,947 @@
+package com.javarush.task.task16.task1621;%0A%0A/* %0AThread.currentThread - %D0%B2%D1%81%D0%B5%D0%B3%D0%B4%D0%B0 %D0%B2%D0%BE%D0%B7%D0%B2%D1%80%D0%B0%D1%89%D0%B0%D0%B5%D1%82 %D1%82%D0%B5%D0%BA%D1%83%D1%89%D1%83%D1%8E %D0%BD%D0%B8%D1%82%D1%8C%0A*/%0A%0Apublic class Solution %7B%0A    static int count = 5;%0A%0A    public static void main(String%5B%5D args) %7B%0A        NameOfDifferentThreads tt = new NameOfDifferentThreads();%0A        tt.start();%0A        for (int i = 0; i %3C count; i++) %7B%0A            tt.printMsg();%0A        %7D%0A    %7D%0A%0A    public static class NameOfDifferentThreads extends Thread %7B%0A        public void run() %7B%0A            for (int i = 0; i %3C count; i++) %7B%0A                printMsg();%0A            %7D%0A        %7D%0A%0A        public void printMsg() %7B%0A            Thread t = Thread.currentThread(); //%D0%BF%D1%80%D0%B8%D1%81%D0%B2%D0%BE%D0%B9 %D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D0%BE%D0%B9 t %D1%82%D0%B5%D0%BA%D1%83%D1%89%D1%83%D1%8E %D0%BD%D0%B8%D1%82%D1%8C%0A            String name = t.getName();%0A            System.out.println(%22name=%22 + name);%0A            //add sleep here - %D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D1%8C sleep %D1%82%D1%83%D1%82%0A            try %7B%0A                Thread.sleep(1);%0A            %7D catch (InterruptedException e) %7B%0A            %7D%0A%0A        %7D%0A    %7D%0A%7D%0A

Complete task1621