摘要: static代码块执行顺序集合继承结构和各个集合的区别HashMap实现原理为什么要实现hashcode方法CurrentHashMap实现原理ArrayList和LinkedList的区别项目用到线程的地方,是否有资源竞争和高并发线程池种类线程池常见参数悲观锁和乐观锁线程池如何优化wait和sle 阅读全文
posted @ 2019-11-30 21:33 18200281361 阅读(130) 评论(0) 推荐(0) 编辑
摘要: int 最大值21亿多,默认值0,integer 默认值nullshort 最大值32768short = (short)int //需要强转int = short; //不需要强转int + short = intint == Integer //trueInteger==Integer // I 阅读全文
posted @ 2019-11-30 20:56 18200281361 阅读(122) 评论(0) 推荐(0) 编辑