This loads the package.
We define a class with a normal method modify and a constant one as well as a field. Static members avoid the necessity of object generation.
Without the Constant qualifier, a method may change the field.
The constant method fails. Look for Mutable, if fields must be changed inside a constant method. Object bound members work analogously. We start with the class definition.
Again, the unqualified method may change, while the Constant one cannot.
|