摘要:
参考资料:http://blog.sina.com.cn/s/blog_62200f0e0100wh8q.html PS: 欢迎关注公众号"Devin说",会不定期更新Java相关技术知识。 阅读全文
摘要:
Java中内存分析: 栈(Stack) :存放基本类型的变量数据和对象的引用,但对象本身不存放在栈中,而是存放在堆(new 出来的对象)或者常量池中(字符串常量对象存放在常量池中)。 堆(heap):存放所有new出来的对象。 常量池(constant pool):在堆中分配出来的一块存储区域,存放 阅读全文
摘要:
1.集合类类图 Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└Set ├HashSet ├TreeSet ├LinkedHashSet Map├Hashtable├HashMap├WeakHashMap└SortedMap └TreeM 阅读全文