摘要: 1.多线程原理 public class MyThread extends Thread{ /* * 利用继承中的特点 * 将线程名称传递 进行设置 */ public MyThread(String name){ super(name); } /* * 重写run方法 * 定义线程要执行的代码 * 阅读全文
posted @ 2020-09-30 22:20 Gazikel 阅读(55) 评论(0) 推荐(0) 编辑