摘要: 1、线程的创建与运行 (1)、继承或直接使用Thread类 继承Thread类创建线程: /** * 主类 */ public class ThreadTest { public static void main(String[] args) { //创建线程对象 My_Thread my_thre 阅读全文
posted @ 2020-12-25 19:37 就行222 阅读(572) 评论(0) 推荐(0) 编辑