Exam-style question
Try this first
Which of the following is true about constants?.
- A.They can change value
- B.They are declared with 'var'
- C.They cannot change value once set
- D.They are not used in programming
Answer and explanation
Concise answer
They cannot change value once set
Why this is correct
Constants are meant to hold fixed values that remain unchanged throughout the program.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
