- 沙箱
Summary
Details
-
Page properties
-
-
... |
... |
@@ -292,8 +292,29 @@ |
292 |
292 |
{{plantuml}} |
293 |
293 |
@startuml |
294 |
294 |
|
295 |
|
-interface Human |
|
295 |
+interface Human{ |
|
296 |
+void eat() |
|
297 |
+} |
|
298 |
+note right |
|
299 |
+human only eat() |
|
300 |
+endnote |
296 |
296 |
|
|
302 |
+class Father{ |
|
303 |
+void makeMoney() |
|
304 |
+} |
|
305 |
+ |
|
306 |
+class Xiaoming{ |
|
307 |
+Human girlFriend |
|
308 |
+void play() |
|
309 |
+} |
|
310 |
+ |
|
311 |
+Human <|.. Father |
|
312 |
+Human <|.. Xiaoming |
|
313 |
+Human <.. Xiaoming |
|
314 |
+Father <|-- Xiaoming |
|
315 |
+ |
|
316 |
+ |
|
317 |
+ |
297 |
297 |
@enduml |
298 |
298 |
{{/plantuml}} |
299 |
299 |
|