

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Derived2 is-a Base
Whole has Part as a part; lifetimes might be different; Part might be shared with other Wholes. (aggregation)
A’s role (^) B’s role
Follow line from start class to end class, note the multiplicity at the end. Say “Each is associated with ”
Each A is associated with any number of B’s. Each B is associated with exactly one A.
Whole has Part as a part; lifetime of Part controlled by Whole, Part objects are contained in one Whole object.
Navigability - can reach B starting from A
(member variables)
(member functions)
object sends message to itself (one method calls another)
message sent (function call)
information returned (non-void return)
<>
<>
lifetime
return with no information (void return) - use for clarity only
<>
get_info(spec)
requested info
do_something()
<>
search-self
void return is implicit