摘要:
本文分析一下protected访问权限。author: ZJ 2007-3-5Blog: [url]http://zhangjunhd.blog.51cto.com/[/url]来谈谈protected访问权限问题。看下面示例1:Test.javaclass MyObject {}publicclass Test { publicstaticvoid main(String[] args) { MyObject obj = new MyObject(); obj.clone(); // Compile error. }}此时出现上文提到的错误:The method clone from the 阅读全文
posted @ 2012-08-02 01:43 immiki 阅读(189) 评论(0) 推荐(0) 编辑