1, a class can inherit only one class, but the implementation of multiple interfaces, in this case, thread has limitations, runnable extensibility is good
2,thread Object calls thread (Runnable run) or thread (Runnable run, String name) to construct a thread, using resources within the same Runnable instance object, Runnable is suitable for resource sharing. (Of course, inheriting the thread class, using static variables can also share resources, but this is cumbersome and static life cycle long)
3, through the definition of the thread class public class Thread extends Object implements Runnable, you can see that the thread class actually also implements the Runnable interface, but there is a start method in thread, And runnable does not, so the content of the run that implements the Runnable object wants the JVM to be called and must pass the object to thread, and the thread's object calls the Start method to start the threads and then runs the contents of the run.