Is there a convention for showing overridden methods in UML static class diagrams?

后端 未结 3 1504
囚心锁ツ
囚心锁ツ 2020-12-31 03:13

If class Human inherits some methods from superclass Mammal unchanged (such as laysEggs: () -> false) and overrides other methods (

3条回答
  •  醉酒成梦
    2020-12-31 03:35

    Though not specified in the UML standard, following is a notation understood to indicate when one function overrides another:

    + toString() : String <>
    

提交回复
热议问题