Thread有个一个构造方法,传递的就是线程的name
创建带参数的构造方法,里面把name值传递给父类。
转载于:https://www.cnblogs.com/wangjunwei/p/11254649.html