摘要:
#参考资料 多线程参考文件 #1. 本周学习总结 1.1 以你喜欢的方式(思维导图或其他)归纳总结多线程相关内容。 #2. 书面作业 本次PTA作业题集多线程 ##1. 源代码阅读:多线程程序BounceThread 1.1 BallRunnable类有什么用?为什么代码中需要调用Thread.sl 阅读全文
摘要:
1. 使用synchronized(互斥)解决代码冲突问题 public class TestSynchronizedThread { /** * @param args * @throws InterruptedException */ public static void main(String 阅读全文