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

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.

Authors and Affiliations

Fawzi Albalooshi, Amjad Mahmood

Keywords

Related Articles

 An Improved Grunwald-Letnikov Fractional Differential Mask for Image Texture Enhancement

 Texture plays an important role in identification of objects or regions of interest in an image. In order to enhance this textural information and overcome the limitations of the classical derivative operators a tw...

TX-Kw: An Effective Temporal XML Keyword Search

Inspired by the great success of information retrieval (IR) style keyword search on the web, keyword search on XML has emerged recently. Existing methods cannot resolve challenges addressed by using keyword search in Tem...

Social Networks’ Benefits, Privacy, and Identity Theft: KSA Case Study

Privacy breaches and Identity Theft cases are increasing at an alarming rate. Social Networking Sites (SN’s) are making it worse. Facebook (FB), Twitter and other SN’s offer attackers a wide and easily accessible platfor...

Density based Clustering Algorithm for Distributed Datasets using Mutual k-Nearest Neighbors

Privacy and security have always been a concern that prevents the sharing of data and impedes the success of many projects. Distributed knowledge computing, if done correctly, plays a key role in solving such a problem....

The Reality of Applying Security in Web Applications in Academia

Web applications are used in academic institutions, such as universities, for variety of purposes. Since these web pages contain critical information, securing educational systems is as important as securing any banking...

Download PDF file
  • EP ID EP259530
  • DOI 10.14569/IJACSA.2017.080614
  • Views 72
  • Downloads 0

How To Cite

Fawzi Albalooshi, Amjad Mahmood (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 & Applications, 8(6), 109-116. https://europub.co.uk/articles/-A-259530