When an attribute is specified as constant, it cannot be changed by subclasses. Indicating a variable as constant implies it cannot be altered, which in turn results in all functions in the class being inherently constant.
When an attribute is specified as constant, it cannot be changed by subclasses. Indicating a variable as constant implies it cannot be altered, which in turn results in all functions in the class being inherently constant.