This loads the package. First, we define a class with a property that has only a getter. Please observe that a getter's name is composed of "get" and the property's name with the first letter capitalized. Every access to the field is now automatically redirected to the getter. | Out[3]= |  |
| Out[3]= |  |
Properties are usually bound to an object. We now bind the property to an object and add a setter that does not change the field's value. | Out[6]= |  |
| Out[7]= |  |
| Out[7]= |  |
Every property can be indexed. The next example is only a proof on principle, the potentials are quite numerous. | Out[9]= |  |
|