Learn various relationships with a UML class diagram
2024-11-12 11:02:36 0 Report
Login to view full content
Other creations by the author
Outline/Content
Association
Implement the interface
bird
+ Feathers+horny beak has no teeth
Lay eggs()
Interface implementation relationship
Inheritance relationship
Synthetic (combination) relationship
geese flock
+ V-shaped flight()+ One-shaped flight()
+ V-shaped flight()+ one-shaped flight()
Dependencies
<<interface>>Fly
+ Fly
Penguin
laying eggs
+ lay
animal
+ Alive
+ Metabolism (in o2: oxygen in water: water)- Reproduction
Climate
Water
Aggregation relationship
Wild goose
+ Lay eggs()+ Fly()
+ lay()+ fly()
wing
Duck
Laying eggs
Donald Duck
+ Speech ()
+ speak()
oxygen
InterfaceRectangular representation: Top with <<interface>>First line: Interface nameSecond line: Interface method
Collect
Collect
Collect
Collect
0 Comments
Next page
Recommended for you
More