摘要: 1.继承Thread,覆盖run()方法 public class ThreadDemo1 extends Thread{ @Override public void run() { for (int i = 0; i < 20; i++) { /* System.out.println("run" 阅读全文
posted @ 2020-03-23 13:31 biglayman 阅读(248) 评论(0) 推荐(0) 编辑