2022年5月4日
摘要: 恢复内容开始 线程的基本使用 在java中 线程使用有两种方式 1.继承Thread类,重写run方法 public class test1 { public static void main(String[] args) { //获取cpu 数 Runtime runtime=Runtime.ge 阅读全文
posted @ 2022-05-04 20:49 梦想的初衷 阅读(12) 评论(0) 推荐(0) 编辑