2023年3月22日

摘要: package com.Java;import java.util.concurrent.*;public class TestPool { public static void main(String[] args) { //创建服务 创建线程池 ExecutorService service = 阅读全文
posted @ 2023-03-22 19:59 搁浅fff 阅读(32) 评论(0) 推荐(0)
 
摘要: package com.Java;public class Testflag { public static void main(String[] args) { TV tv = new TV(); new Player(tv).start(); new Watcher(tv).start(); } 阅读全文
posted @ 2023-03-22 19:20 搁浅fff 阅读(22) 评论(0) 推荐(0)