Back to Search Start Over

Coping with abstraction in object orientation with a special focus on interface classes.

Authors :
Lavy, Ilana
Rashkovits, Rami
Kouris, Roy
Source :
Computer Science Education; Sep2009, Vol. 19 Issue 3, p155-177, 23p, 13 Diagrams, 1 Chart
Publication Year :
2009

Abstract

One of the subjects that undergraduate students learning Object Oriented (OO) design find hard to apply is the construction of class hierarchies in general, and the use of interface classes in particular. The design process requires decomposition and reconstruction of problems in order to model software classes. The common attributes and behaviors are usually modeled using class inheritance except when the common behaviors do not belong to the same class hierarchy; in such case, an interface class is preferred. In order to be able to properly design, the designer has to demonstrate the abstraction abilities on various levels. In this study, we aimed at examining the students' demonstration of abstraction levels during design of class hierarchy in general, and whether or not they use interface classes in particular. The results of the study reveal that a majority of students were able to build a reasonable class hierarchy; however, many of them did not use interface classes as a tool for expressing common behaviors. Nevertheless, all of them could identify and choose the best solution for a particular problem among four different solutions, which included the use of interface class. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
08993408
Volume :
19
Issue :
3
Database :
Complementary Index
Journal :
Computer Science Education
Publication Type :
Academic Journal
Accession number :
44651494
Full Text :
https://doi.org/10.1080/08993400903255218