Specifying static methods in a class diagram

Started by
3 comments, last by bah 19 years, 3 months ago
Good evening, How do you specify a static member method in a class diagram? Is there an particular symbol that I should use? Thanks
Advertisement
Underline the name.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
That goes for both the data members and the methods?
Also, how should you specify a constant variable and the value it should be assigned?

I've done like so:

+ variableX:Integer = 1

Thanks
Quote:Original post by bah
That goes for both the data members and the methods?


Yes. Any attribute.

Quote:
Also, how should you specify a constant variable and the value it should be assigned?

+ variableX:Integer = 1


Look good.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Thanks again

This topic is closed to new replies.

Advertisement