Data Access, Properties, and Methods
- slide 8 : 29
Properties: Class Point with polar coordinates
A real life illustration of properties
Class Point with polar data representation.
Point setters
As a matter of notation, it is not possible to tell the difference between direct access of an instance variable and access via a property