计算机科学 > 程序设计语言
[提交于 2013年1月26日]
标题:Problems of Inheritance at Java Inner Class
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Single inheritance has been widely accepted in the current programming practice to avoid the complication that incurred by multiple inheritance. Single inheritance enhances the reusability of codes and eliminates the confusion of identical methods that possibly defined in two superclasses. However, the mechanism of inner class in Java potentially reintroduces the problems encountered by multiple inheritance. When the depth of Java inner class is increased, the problem becomes severe. This paper aims at exposing the problems of inheritance at the Java inner class. In addition, a measure is proposed to evaluate the potential problem of inheritance for Java inner class
提交历史
来自:Sim-Hui Tee[v1] 2013年1月26日 星期六 14:25:54 UTC