After understanding the relationship between java classes, we have basically understood the aggregation and combination relationships, but association relationships In addition to aggregation and combination general association relationships are What kind of thing?
Since the association relationship is an ownership relationship, in addition to the combination relationship and aggregation relationship, what are the remaining general association relationships like. . . (Best code, please)
My Baidu explains combination and aggregation. Are there only combination and aggregation in related relationships?
It is said on the Internet that combination and aggregation are special relationships, but it is not said that relationships are divided into these two types. I can't think of other relationships besides these two.
Inheritance relationship (subclass inherits the functions of parent class and parent interface) is clearly identified with extends
To implement the relationship and implement the interface excuse, use the implement identifier
Dependency For example: Class b needs to be used as a parameter in class a
Association Relationship: Association reflects a strong dependency relationship at the semantic level between two classes, such as me and my friend. This relationship is stronger than dependence. There is no contingency of dependence, and the relationship is not temporary. It is generally long-term, and the relationship between both parties is generally equal.
The rest is what you call the relationship between combination and aggregation