
java
UnstableElement
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
抽象类与接口的区别
抽象类与接口的区别(英文描述): Interface is open to the public, there can not have the private methods and variables.It is used to let others use, but the abstract class can have private methods or privat...原创 2012-06-25 14:16:16 · 133 阅读 · 0 评论 -
Java:谈谈protected访问权限
来谈谈protected访问权限问题。看下面示例1: class MyObject {} public class Test { public static void main(String[] args) { MyObject obj = new MyObject(); obj.clone(); // Compile error. }} ...原创 2012-07-27 12:21:23 · 228 阅读 · 0 评论