摘要: 学习 多线程 测试JUC安全类型的集合 阅读全文
posted @ 2020-11-04 21:47 Tenton 阅读(95) 评论(0) 推荐(0)
摘要: #同步方法 public class SafeBuyTicket { public static void main(String[] args) { BuyTicket station = new BuyTicket(); new Thread(station,"Tenton").start(); 阅读全文
posted @ 2020-11-04 21:35 Tenton 阅读(181) 评论(0) 推荐(0)