Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In the section, "Final Variables" earlier in the chapter, you learned that you could create a final variable by using the keyword final. However, final variables at a class level or local variables will always have the same value when the program is run. If you have multiple objects of the same class with final variables, the value of the final variables in those objects will have the same values. It is more common (and also more prudent) to make a final variable static too. This way, all objects share the same value.
The naming convention for static final variables is to have them in upper case and separate two words with an underscore. For example