Modifiers - Protecting from change - ReadOnly
3 important questions on Modifiers - Protecting from change - ReadOnly
There are times that we want a property to be immune from change.
How can we do this?
What is a downside of making the property private?
What stronger form can we use instead of private?
This indicates that the property should be protected from all changes once it is initialized.
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding