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