property
A property is a symbol associated with an
objeto than can be either read or written.
Each property has a datatype.
Some
objeto properties are read-only.
A property whose name begins with an underscore is automatically hidden by the IDE.
A property is always public.
 |
A property is slower to access than a variable, as reading or writing are done by a function and not a direct memory access.
But it provides you full access control.
|