Closed lowxizhi closed 4 years ago
In this case, there is a composition association between Email class and Subject object
class Email { private Subject subject; ... }
In this case, there is an aggregation association between Team class and Person object.
class Team { Person leader; ... void setLeader(Person p) { leader = p; } }
You can edit your own issues. No need to close and open a new one :-)
I accidentally posted this issue by pressing Enter. Will take note!
In this case, there is a composition association between Email class and Subject object
class Email { private Subject subject; ... }
In this case, there is an aggregation association between Team class and Person object.
class Team { Person leader; ... void setLeader(Person p) { leader = p; } }