How to indicate a static method in UML class diagram?








Answer: In UML class diagram, underlining the field or method indicates it static.

Below is an example class with a static method get(id: int): Employee , which returns a Employee object.

See also:








No comments:

Post a Comment