If class Human inherits some methods from superclass Mammal unchanged (such as laysEggs: () -> false) and overrides other methods (
Human
Mammal
laysEggs: () -> false
Though not specified in the UML standard, following is a notation understood to indicate when one function overrides another:
+ toString() : String <>