摘要:
package thread; public class Test02 { //定义初始票数 public static int chepiao = 20; public static void main(String[] args) { Test02 t = new Test02(); //匿名类创建线程 Thread t1 = new Threa... 阅读全文
摘要:
package com.xh; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.ScheduledExecutorSer... 阅读全文