What is common is the use of use static finals to implement "constant" values, an approach that goes against the object-oriented concept of information hiding.
Embedded statements are not allowed in constant expressions, such as the value of an enumeration constant, the width of a bit-field, or the initial value of a static variable.