Beginner
Java
Q10 / 100
What does the final keyword do when applied to a variable?
Correct! Well done.
Incorrect.
The correct answer is C) Prevents the variable from being reassigned
C
Correct Answer
Prevents the variable from being reassigned
Explanation
A final variable can only be assigned once; attempting to reassign it causes a compile-time error.
Progress
10/100