2021年12月5日
摘要: 一.线程得创建方式 1.继承Thread类 重写run方法,.start()方法运行 public class ThreadTest extends Thread { @Override public void run() { for (int i = 0; i < 20; i++) { Syste 阅读全文
posted @ 2021-12-05 17:46 Forever、H 阅读(209) 评论(0) 推荐(0)