Difference between association and dependency?
问题 In a UML class diagram, what is the difference between an association relationship and a dependency relationship? From what I know, an association is a stronger relationship than a dependency, but I'm not sure how it is stronger. Any example would be more than welcome :) 回答1: What is the difference between dependency and association?: In general, you use an association to represent something like a field in a class. The link is always there, in that you can always ask an order for its