摘要: https://www.cnblogs.com/qdhxhz/p/10825538.html 阅读全文
posted @ 2021-01-26 19:03 LearnSB 阅读(81) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/xupccc/p/9661972.html 阅读全文
posted @ 2021-01-26 18:51 LearnSB 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 1.什么是依赖循环(你中有我,我中有你):当我创建A对象时,发现需要用到B对象;然后我去创建B对象,发现需要用到A对象,但此时A对象还木有创建完成,那么问题来了,到底是先创建A对象还是B对象?(ps:回忆下对象的创建过程:https://www.cnblogs.com/LearnSB/p/13191 阅读全文
posted @ 2021-01-22 10:33 LearnSB 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 参考文档:https://blog.csdn.net/qq_38225558/article/details/94381467 阅读全文
posted @ 2020-11-27 19:53 LearnSB 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 参考文档:https://www.runoob.com/w3cnote/java-printf-formate-demo.html printf需要两个参数,一个参数是String类型的format用来规定按照何种格式输出;第二个参数是要格式化的内容; 阅读全文
posted @ 2020-11-24 19:13 LearnSB 阅读(146) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/wang-yaz/p/10757937.html 阅读全文
posted @ 2020-11-24 17:37 LearnSB 阅读(77) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/dingxu/p/8968889.html 阅读全文
posted @ 2020-11-24 11:15 LearnSB 阅读(827) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/feiwu666-888/p/11275032.html +unmodifiableCollection(Collection:list):Collection:unmodifablelist 阅读全文
posted @ 2020-11-23 17:53 LearnSB 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 今天印象比较深刻的一个问题是:写了生产者(查询)和消费者(存储)的线程;生产者调了四个线程;消费者一个线程;本来应该是生产者每起一个线程,标志位加一;通知消费者线程可以存储了;结果由于标志位加一的语句位置搞错了,没有生效;导致生产者标志位一直为0,消费者拿到的生产者标志位一直是0,根本没有调功能接口 阅读全文
posted @ 2020-11-19 17:34 LearnSB 阅读(80) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/fengzheng/p/14004342.html 阅读全文
posted @ 2020-11-19 17:02 LearnSB 阅读(123) 评论(0) 推荐(0) 编辑