首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:A Comparative Study on the Effect of Multiple Inheritance Mechanism in Java, C++, and Python on Complexity and Reusability of Code
  • 本地全文:下载
  • 作者:Fawzi Albalooshi ; Amjad Mahmood
  • 期刊名称:International Journal of Advanced Computer Science and Applications(IJACSA)
  • 印刷版ISSN:2158-107X
  • 电子版ISSN:2156-5570
  • 出版年度:2017
  • 卷号:8
  • 期号:6
  • DOI:10.14569/IJACSA.2017.080614
  • 出版社:Science and Information Society (SAI)
  • 摘要:Two of the fundamental uses of generalization in object-oriented software development are the reusability of code and better structuring of the description of objects. Multiple inheritance is one of the important features of object-oriented methodologies which enables developers to combine concepts and increase the reusability of the resulting software. However, multiple inheritance is implemented differently in commonly used programming languages. In this paper, we use Chidamber and Kemerer (CK) metrics to study the complexity and reusability of multiple inheritance as implemented in Python, Java, and C++. The analysis of results suggests that out of the three languages investigated Python and C++ offer better reusability of software when using multiple inheritance, whereas Java has major deficiencies when implementing multiple inheritance resulting in poor structure of objects.
  • 关键词:Reusability; complexity; python; java; C++; CK metrics; multiple inheritance; software metrics
国家哲学社会科学文献中心版权所有