修改线程名称 ifubing 2021-03-17 108 阅读1分钟 修改线程名称 关于 方式一:setName方法 线程对象的方法 方式二:构造方法 继承Thread类的子类 来一个构造方法 实例化时带上参数