|
|
Properties: Class Point with polar coordinates | The example on this page is a typical, real-life illustration of the usefulness of properties. |
A real life illustration of properties |
Both rectangular and polar access
is provided via properties. |
|
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 |
Read more about this topic in the text book version of this material. |