How Final is Java']Java's final?

被引:0
作者
Baridam, Barilee [1 ]
机构
[1] Univ Port Harcourt, Dept Comp Sci, Port Harcourt, Nigeria
来源
2015 SCIENCE AND INFORMATION CONFERENCE (SAI) | 2015年
关键词
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Programming has evolved with diverse ways of doing things all with the aim of removing ambiguity and creating optimized methods in solving problems. The final keyword in Java has been a point of discussion and controversy since the inception of the Java programming Language. The final keyword has been seen by Java programmers as a necessary tool for optimization. Other programmers have also seen it as a setback on the implementation of inheritance and re-useability. Few questions should be asked: Any relationship between final and finalization? Is the problem of optimization solved in the light of the usage of the final keyword? Are there better ways to present the idea behind this keyword which should be considered in the next version of Java? Though not totally a fan of 'final' (you will find that out by the time you read my 'final' comment on final), in this paper, these questions are answered and a quick review of this keyword is done with the purpose of exposing its features, usefulness and, possibly, presenting its defects as most programmers tend to postulate. An expose on the concept behind the keyword is done to establish whether Java's final keyword is actually 'final'.
引用
收藏
页码:946 / 948
页数:3
相关论文
共 10 条
  • [1] [Anonymous], 2010, DOES USE FINAL KEYWO
  • [2] [Anonymous], 2013, WHAT IS PURPOSE FINA
  • [3] [Anonymous], 2011, FINAL MODIFIER ANONY
  • [4] [Anonymous], 2010, PROBLEMS INITIALIZIN
  • [5] Goetz B., 2003, DEV WORKS APR
  • [6] Goetz B., 2002, DEV WORKS OCT
  • [7] Gosling J., 2005, Java Language Specification, Vthird
  • [8] Joosten J., 2011, INT J UNCONVENTIONAL
  • [9] Waldura R., FINAL WORD FINAL KEY
  • [10] Zenil Hector, 2012, Computation, Physics and Beyond. International Workshop on Theoretical Computer Science, WTCS 2012. Dedicated to Cristian S. Calude on the Occasion of His 60th Birthday. Revised Selected and Invited Papers, P224, DOI 10.1007/978-3-642-27654-5_17