强引用 弱引用 软引用 虚引用 Java:强引用,软引用,弱引用和虚引用_BOUNC3的博客-CSDN博客_软引用
反射:
1.Class.FormName(...)
2.类名.Class
3.对象.getClass()
ConCurrentHashMap/HashMap/HashTable
- HashMap是线程不安全的,HashTable是线程安全的;HashMap中允许键和值为null,HashTable不允许;HashMap的默认容器是16,为2倍扩容,HashTable默认是11,为2倍+1扩容;
ConcurrentHashMap实现原理及源码分析_快乐小石头的博客-CSDN博客_concurrenthashmap实现原理



