摘要: 创建线程有四种方式: 1.继承Thread类 public class MyThread00 extends Thread { public void run() { for (int i = 0; i < 5; i++) { System.out.println(Thread.currentThr 阅读全文
posted @ 2019-12-04 21:18 TP000 阅读(2039) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2019-12-04 20:33 TP000 阅读(66) 评论(0) 推荐(0) 编辑