-1

I have heard that aggregation and composition are parts of association (If we are talking about OOP). But there is a occasions where we can't name one like an assotiation or aggregation?

I've read similar questions on this site and have searched in the Internet already

P.S. I'm sorry for my English grammary; It's not my relative language

Lucy
  • 7
  • 1

1 Answers1

0

As @StephenC said:

The association between a person and their parents (and children) is neither composition or aggregation. Marriage is another example.

Lucy
  • 7
  • 1
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 22 '23 at 20:59