Develop an approach to software development that is:
Source: Extreme Programming, Kent Beck, 1999, as listed in Horstmann p. 619
Diagram | Type | Description | Example |
---|---|---|---|
-----|> |
inheritance | is-a (extends) | a dog is an animal |
.......|> |
realization | implements | a string implements comparable |
------> |
association | has-a (dependency; objects are stored as attributes of another object) | a car has tyres |
........> |
dependency | uses (uses another class but doesn't store the object directly in it) | an applet uses graphics |
-----<> |
aggregation | association with part-whole relationship | a class has students |
----<*> |
composition | aggregation with a part only belonging to one whole | a person has arms |