Difference between Composition and Dependency in class diagram?
问题 I know, somebody had asked the same question about this case, but i still don't really get it, i need a specific answer. Thank you :D 回答1: Since Gangnus did not correctly explain the meaning of composition, I'll have to do it. As explained by Gangnus, an aggregation is a special form of association with the intended meaning of a part-whole-relationship , but without a precise semantics (the UML spec says: "Precise semantics of shared aggregation varies by application area and modeler"). For