What does the '#' symbol mean in a UML class diagram?

Viewed 110939

I was reading Algorithms in a Nutshell (O'Reilly) and came across this symbol in a class diagram. My guess is that it means the member is protected, but I wanted to see if anyone knows for sure what it means.

5 Answers

It indicates a protected member of a class or other data type.

- Indicates private

+ Indicates public

# Indicates protected

'#' indicates the visibility. In this case it refers to a protected operation [ edited out the term 'method' as this is not as generic ].

Related