摘要: 一、创建线程类。 public class RunnableImpl implements Runnable{ @Override public void run() { System.out.println("1"); } } 二、主方法。 public static void main(Stri 阅读全文
posted @ 2021-09-06 16:43 饮木 阅读(271) 评论(0) 推荐(0) 编辑