Title: "[[Unified-Modeling-Language]]"
Author:
- AllenYGY
status: DONE
tags:
- NOTE
- Java
- Lec1
- Program
created: 2023-11-02T00:59
updated: 2024-05-31T01:02
Describe the system in terms of classes and their relationships.
Natural ways of reflecting the real-world entities and their relationships.
Association represents a general binary relationship that describes an activity between two classes.
A class is aware of and holds a reference to another class.
A special type of association, which represents a “Has-A” relationship 空心菱形
Represents a “Part-of” relationship. 实心菱形
Often referred as a “is-a” relationship. 三角空心
E.g., a dog is an animal.
For interface