类图
2021-05-05 15:53:40 0 举报
泛化和继承关系的案例
作者其他创作
大纲/内容
dog
+name:string+sex:string+age:string
+run():void+eat():void
Red flag
+name:string+speed:int+price:int
+run():void
Animal
+name:string
Mercedes
+name:string+speed:int+price:int
car
+name:string-branch:string+speed:int
bird
-fly():void+run():void+eat():void
0 条评论
下一页