Java Reference
In-Depth Information
8.
Inheritance (the is-a relationship) is sometimes inappropriately used when the
has-a relationship would be more appropriate.
9.
Aggregation (the has-a relationship) denotes that objects of one class contain
references to objects of another class.
10. Dependency is another name for the Ȓusesȓ relationship.
11. You need to be able to distinguish the UML notations for inheritance, interface
implementation, aggregation, and dependency.
12. Use javadoc comments (with the method bodies left blank) to record the
behavior of classes.
578
579
FURTHER READING
1.
Grady Booch, James Rumbaugh, and Ivar Jacobson, The Unified Modeling
Language User Guide, Addison-Wesley, 1999.
2.
Kent Beck, Extreme Programming Explained, Addison-Wesley, 1999.
3.
W. H. Sackmann, W. J. Erikson, and E. E. Grant, ȒExploratory
Experimental Studies Comparing Online and Offline Programming
Performanceȓ, Communications of the ACM, vol. 11, no. 1 (January 1968),
pp. 3ȋ11.
4.
F. Brooks, The Mythical Man-Month, Addison-Wesley, 1975.
REVIEW EXERCISES
΢
Exercise R12.1. What is the software life cycle?
΢΢ Exercise R12.2. List the steps in the process of object-oriented design that
this chapter recommends for student use.
΢
Exercise R12.3. Give a rule of thumb for how to find classes when
designing a program.
΢
Exercise R12.4. Give a rule of thumb for how to find methods when
designing a program.
Search WWH ::




Custom Search