摘要: 二 package com.aaa.threaddemo; /* * 一 实现多线程有哪四种方式? * 1.继承Thread类 * 2.实现runnable接口 * */ public class CreatThreadMethod { public static void main(String[ 阅读全文
posted @ 2020-11-19 16:58 送外卖的小菜鸟 阅读(406) 评论(0) 推荐(0) 编辑
摘要: package com.aaa.threaddemo; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Lin 阅读全文
posted @ 2020-11-19 13:50 送外卖的小菜鸟 阅读(111) 评论(0) 推荐(1) 编辑