?
What will happen if you try to set a value to a constant once it has been declared?
Answer & Solution
Correct Answer:
Option
C
You should use constants when your property needs to be available across all instances of a class, and when the property value needs to be fixed and unchanging.
Join the Discussion
Login to post a comment or share your explanation.
Login