hrcak mascot   Srce   HID

Izvorni znanstveni članak
https://doi.org/10.2498/cit.1001812

Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible

Emal Nasseri ; Department of Information Systems and Computing, Brunel University, UK
Steve Counsell ; Department of Information Systems and Computing, Brunel University, UK

Puni tekst: engleski, pdf (164 KB) str. 159-165 preuzimanja: 321* citiraj
APA 6th Edition
Nasseri, E. i Counsell, S. (2010). Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible. Journal of computing and information technology, 18 (2), 159-165. https://doi.org/10.2498/cit.1001812
MLA 8th Edition
Nasseri, Emal i Steve Counsell. "Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible." Journal of computing and information technology, vol. 18, br. 2, 2010, str. 159-165. https://doi.org/10.2498/cit.1001812. Citirano 25.06.2019.
Chicago 17th Edition
Nasseri, Emal i Steve Counsell. "Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible." Journal of computing and information technology 18, br. 2 (2010): 159-165. https://doi.org/10.2498/cit.1001812
Harvard
Nasseri, E., i Counsell, S. (2010). 'Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible', Journal of computing and information technology, 18(2), str. 159-165. doi: https://doi.org/10.2498/cit.1001812
Vancouver
Nasseri E, Counsell S. Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible. Journal of computing and information technology [Internet]. 2010 [pristupljeno 25.06.2019.];18(2):159-165. doi: https://doi.org/10.2498/cit.1001812
IEEE
E. Nasseri i S. Counsell, "Java Method Calls in the Hierarchy – Uncovering Yet another Inheritance Foible", Journal of computing and information technology, vol.18, br. 2, str. 159-165, 2010. [Online]. doi: https://doi.org/10.2498/cit.1001812

Sažetak

This paper describes an empirical investigation into method calls between classes at each level of the inheritance hierarchy in four, Java, open source systems. We distinguish between method calls made to super classes in the hierarchy and external method calls made outside the line of super classes to the root. The premise on which the research rests is that classes should predominantly make use of super class functionality (as theory suggests) and relatively infrequent use of functionality outside those super classes. Results revealed that the most method calls were made to the methods of the classes where the majority of functionality resided (at shallow hierarchical levels) and not necessarily to the super classes of a class. The evidence presented therefore implies that developers are not using inheritance in the spirit originally intended and lends weight to the growing belief that OO inheritance has more practical foibles than theoretically stated advantages.  

Ključne riječi
Method calls; inheritance; OO; empirical

Hrčak ID: 59525

URI
https://hrcak.srce.hr/59525

Posjeta: 471 *