期刊文献+

关于Java中final的深度剖析 被引量:1

The Use of Final in Java Programming
下载PDF
导出
摘要 在java语言的使用中,经常困扰程序员的一件事就是代码中的逻辑错误难以定位,从而降低了工作效率。fillal关键词的用法能在很大程度上解决这一类的问题,将逻辑错误转换为编译器能够识别的编译错误。在Java编程中将final作为一种规范将使整个项目变得更加便于管理,也更利于后期的测试和维护。 In the programming of Java,it is important to ensure the precision of the code.Unfortunately,this job is really hard for most en- gineers.But the use of final may reduce the difficulty to some degree.It exchanges logic errors with compiler errors when you introduce this tactic.
作者 陆添超 LU Tian-chao (School of Computer Science and Technology, China University of Mining and Technology, Xuzhou 221116, China)
出处 《电脑知识与技术》 2010年第02X期1406-1408,共3页 Computer Knowledge and Technology
关键词 JAVA FINAL 逻辑错误 编译时替换 常量 constant final logic errors substitution at compile time
  • 相关文献

参考文献1

  • 1(美)[B.埃克尔]BruceEckel著,京京工作室.Java编程思想[M]机械工业出版社,1999.

同被引文献5

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部