摘要: 对于一般的type来说,这二者没有区别,对于array和inner type,就有区别了,可以写代码亲测,如下: 1 package simple; 2 3 class Box { 4 class Inner {} 5 } 6 7 public class Foo { 8 public static void main(String[] args) throws Exception { 9 // Ordinary class:10 System.out.println(Box.class.getCanonicalName());11 ... 阅读全文
posted @ 2013-06-17 20:53 rldts 阅读(1539) 评论(1) 推荐(0)
摘要: 原文地址:https://weblogs.java.net/blog/enicholas/archive/2006/05/understanding_w.html推荐另一篇文章:http://www.ibm.com/developerworks/cn/java/j-refs/Some time ago I was interviewing candidates for a Senior Java Engineer position. Among the many questions I asked was "What can you tell me about weak refere 阅读全文
posted @ 2013-06-17 16:43 rldts 阅读(276) 评论(0) 推荐(0)