Albalooshi, Fawzi (2016) The Metrics of Multiple Inheritance and the Reusability of Code – Java and C++. British Journal of Mathematics & Computer Science, 16 (5). pp. 1-12. ISSN 22310851
Albalooshi1652016BJMCS25851.pdf - Published Version
Download (201kB)
Abstract
One of the fundamental notions in object-oriented systems is multiple inheritance which enables developers to combine concepts and increase the reusability of resulting software. Two of the widely used object-oriented languages are Java and C++ that each has its own mechanism to implement multiple inheritance. The paper investigates the difference between the two languages’ implementation of this important notion. CK software metrics have been widely used to measure object-oriented software designs and implementations and are well-known in the software engineering community. In this paper they are used to assess the two implementations of an object-oriented system having multiple inheritance relationships and in particularly the reusability factor. Reusability is evaluated using a combination of the CK metrics that have been designed specifically for the purpose. The results clearly show that the Java implementation compared to C++ has increased coupling and software complexity and lacks cohesion resulting to reduced software reusability.
Item Type: | Article |
---|---|
Subjects: | GO STM Archive > Mathematical Science |
Depositing User: | Unnamed user with email support@gostmarchive.com |
Date Deposited: | 17 Jun 2023 07:03 |
Last Modified: | 20 Sep 2024 04:10 |
URI: | http://journal.openarchivescholar.com/id/eprint/981 |