Starting a new thread executes the code that is located in the method run(). MyThread class inherits from the Thread class the empty method run() - so a new thread will bring nothing and just completes its work, and after the whole application will finish its work.
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать