(1) Thread class inheritance
(2) can be rewritten run (Method
(3) by the method of starting the thread start0
Certain disadvantages: Java classes in a single inheritance, once inherit the Thread class, is not allowed to go to other classes inherit
The execution order between the thread and the main method does not necessarily, depending on the CPU scheduling has