Quote Originally Posted by jmcilhinney View Post
You just provided an example of using a property. Those accessor methods are the property getter and setter. A property bundles a get and set method and makes them appear to the outside world to behave just like a field, which is a nicer option than Java where you just write two methods with "get_" and "set_" prefixes.
Ah ok.