摘要: 多线程 Thread package lesson01; //创建线程的方式一:继承Thread类,重写run()方法,调用start开启线程 //线程开启不一定立即执行,有CPU调度执行 public class TestThread extends Thread{ @Override publi 阅读全文
posted @ 2024-08-05 18:17 fightownself 阅读(17) 评论(0) 推荐(0)