Search code examples
umlclass-diagram

UML dependency reliationship


I can't find answer for my question . Is there a limit to how much dependency reliationship can be between two classes ? Does UML class-diagrams in general can't have more than one reliationship of the same type between two classes but they can have 2 or more reliationship of different types (for example between two classes they both can have composition and generalization reliantionship ?


Solution

  • You can have many associations between two classes, as well as many dependencies. You should stereotype those dependencies to differentiate them.