摘要: public class Demo3_Synchronized { public static void main(String[] args) { // TODO Auto-generated method stub Ticket2 ticket2 = new Ticket2(); new Thr 阅读全文
posted @ 2019-03-12 16:48 幻音坊-女帝 阅读(613) 评论(0) 推荐(0) 编辑
摘要: public class Demo2_Snschronized { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("多线程开始时间(毫秒):"+System 阅读全文
posted @ 2019-03-12 16:33 幻音坊-女帝 阅读(350) 评论(0) 推荐(0) 编辑