Task

Demonstrate any means your language has to prevent the modification of values, or to create objects that cannot be modified after they have been created.




def foo = 42;              // immutable by default
mutable bar = "O'Malleys"; // mutable because you asked it to be