月小升

一个13年的开发老兵。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年10月19日

摘要: final变量被定义为一个常量,是一个无法修改的量。我们只能给他赋值一次。 final, the variable can be defined as a constant and can not be changed;we only assgin the value for the final variable once. final定义的方法,无法被重写。 final, the definition of the method can not be covered; final定义的类,不能被继承 final, the definition of the class can not be 阅读全文
posted @ 2012-10-19 20:25 月小升 阅读(366) 评论(0) 推荐(0) 编辑