期刊文献+

“礼让”原则学习Java对象初始化顺序 被引量:1

Learning the Order of Object Initialization by“Comity”in Java
在线阅读 下载PDF
导出
摘要 本文从教学角度对Java对象初始化顺序进行了实证分析,给出了JVM在执行过程中的"礼让"原则,最后还针对继承关系中构造函数的调用规则给出了更为简便和高效的记忆方法。 This paper analyzes the initialization sequence of Java objects from the angle of teaching, and points out the "comity" principle in JVM execution. Finally, some better memory methods are given about the calling rules of constructor in inheritance relationship.
作者 武瑞婵
出处 《襄阳职业技术学院学报》 2014年第2期121-123,共3页 Journal of Xiangyang Polytechnic
关键词 初始化顺序 “礼让”原则 继承 构造函数 Initialization order "Comity" principle Inheritance Constructor
  • 相关文献

参考文献4

  • 1John Zukowski;邱仲潘.Java 2从入门到精通[M]北京:电子工业出版社,2002.
  • 2刘宝林.Java程序设计[M]北京:高等教育出版社,2011.
  • 3杨佩理;周洪斌.Java程序设计基础教程[M]北京:机械工业出版社,2010.
  • 4孙燮华.Java程序设计教程[M]北京:清华大学出版社,2008.

同被引文献5

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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