摘要: 1.通过实现Runnable接口创建线程 首先编写类实现Runnable接口 public class TestThread3 implements Runnable{ 然后创建一个类的对象,并创建一个Thread类的对象并向其传入类对象即可 TestThread3 testThread3 = ne 阅读全文
posted @ 2021-09-20 21:54 爱思考的L 阅读(144) 评论(0) 推荐(0)