As question states, I am doing homework which have 2 variables BOOK, and MAGAZINE in all capital letters, and I can not figure out what could be the purpose of it.
Anyone have a clue?
The icon in Visio Class Diagram looks like rectangle with equal sign on it and a lock declaring it private.
This is a picture of class diagram.
Regards.
They are private constants. You can tell by the icon next to their name. Take a look at the constant TEST in this example…
EDIT:
The all caps is merely by convention, but is usually used to represent constants.