How and When to Flatten Java Classes?
Author(s) -
Jehad Al Dallal
Publication year - 2014
Publication title -
international journal of computer science engineering and information technology
Language(s) - English
Resource type - Journals
eISSN - 2231-3605
pISSN - 2231-3117
DOI - 10.5121/ijcseit.2014.4207
Subject(s) - java , computer science , programming language
Improving modularity and reusability are two key objectives in object-oriented programming. These objectives are achieved by applying several key concepts, such as data encapsulation and inheritance. A class in an object-oriented system is the basic unit of design. Assessing the quality of an object-oriented class may require flattening the class and representing it as it really is, including all accessible inherited class members. Thus, class flattening helps in exploring the impact of inheritance on improving code quality. This paper explains how to flatten Java classes and discusses the relationship between class flattening and some applications of interest to software practitioners, such as refactoring and indicating external quality attributes.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom