`
linvar
  • 浏览: 254455 次
  • 性别: Icon_minigender_1
  • 来自: 未定
社区版块
存档分类
最新评论

thinking in java (2)

    博客分类:
  • java
阅读更多
1. Your objects might not get garbage collected.
   Garbage collection is not destruction.
   Garbage collection is only about memory.

2. Within a class, the variables are initialized before any methods can be called--even the constructor.

3. Within a interface, the fields are default static and final. And the method access control is public by default.

4. It's possible to place a class definition within another class definition. This is called an inner class.

5. RTTI
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics