Which of these keywords is used to prevent content of a variable from being modified?
A. final
B. last
C. constant
D. static
Answer:A
Which of these keywords is used to prevent content of a variable from being modified?
A. final B. last C. constant D. static
Explanation: A variable can be declared final, doing so prevents its content from being modified. Final variables must be initialized when it is declared.