Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

A Comparative Study on the Effect of Multiple Inheritance Mechanism in Java, C++, and Python on Complexity and Reusability of Code

Author 1: Fawzi Albalooshi Author 2: Amjad Mahmood
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 8, No. 6 · Published 2017 · Cited by 7

DOI: https://doi.org/10.14569/IJACSA.2017.080614

Abstract

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.

Keywords

How to Cite this Article

Albalooshi, F., & Mahmood, A. (2017). A Comparative Study on the Effect of Multiple Inheritance Mechanism in Java, C++, and Python on Complexity and Reusability of Code. International Journal of Advanced Computer Science and Applications, 8(6). https://doi.org/10.14569/IJACSA.2017.080614

Albalooshi, Fawzi, and Amjad Mahmood. "A Comparative Study on the Effect of Multiple Inheritance Mechanism in Java, C++, and Python on Complexity and Reusability of Code." International Journal of Advanced Computer Science and Applications, vol. 8, no. 6, 2017, https://doi.org/10.14569/IJACSA.2017.080614.

@article{Albalooshi2017,
  title     = {A Comparative Study on the Effect of Multiple Inheritance Mechanism in Java, C++, and Python on Complexity and Reusability of Code},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {8},
  number    = {6},
  year      = {2017},
  publisher = {The Science and Information Organization},
  author    = {Fawzi Albalooshi and Amjad Mahmood},
  doi       = {10.14569/IJACSA.2017.080614},
  url       = {https://doi.org/10.14569/IJACSA.2017.080614}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.