Exporting PropertiesΒΆ
With an accessor and a reference, it is possible to export a private property and manipulate it from the outside of the object.
This is not recommended, as it exposes data that is supposed to be protected by its visibility.
With an accessor and a reference, it is possible to export a private property and manipulate it from the outside of the object.
This is not recommended, as it exposes data that is supposed to be protected by its visibility.