Sign in to follow this  

Specifying static methods in a class diagram

This topic is 4732 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Good evening, How do you specify a static member method in a class diagram? Is there an particular symbol that I should use? Thanks

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

This topic is 4732 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this