uml学生成绩类图
2020-06-05 14:34:04 0 举报
学生成绩类图
作者其他创作
大纲/内容
中等MiddleState
+ MiddleState(AbstractState state)+ checkState():void
抽象类模式AbstractState
# hj:ScoreContext# stateName:String# score:int
+ checkState():void+ addScore(int x):void
环境类ScoreContext
- state:AbstractState
+ ScoreContext()+ setState(AbstractState state):void+ getState():AbstractState+ add(int score):void
优秀HighState
+ HighState(AbstractState state)+ checkState():void
不及格LowState
+ LowState(ScoreContext h) + LowState(AbstractState state)+ checkState():void
0 条评论
回复 删除
下一页