Initial commit

This commit is contained in:
2025-11-06 10:29:13 +08:00
commit 0becd14830
318 changed files with 7145 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
classDiagram
class Father {
<<abstract>>
# double height
# double weight
+ Father(double height, double weight)
+ double getHeight()
+ void setHeight(double height)
+ double getWeight()
+ void setWeight(double weight)
+ void hobby()
}
class Son {
- String personality
+ Son(double height, double weight, String personality)
+ String getPersonality()
+ void setPersonality(String personality)
+ void hobby()
}
class Main {
+ main(String[] args)
}
Father <|-- Son : 继承
Main --> Son : 创建与使用