You are working on a Java project and see the following line of code within a function:
final int rate = 5;
What does the keyword final do? Choose the correct answer: A. A compile-time error will occur if another line of code attempts to assign a value to the rate variable.
B. A compile-time warning will occur if another line of code attempts to assign a value to the rate variable.
C. A runtime error will occur if another line of code attempts to assign a value to the rate variable.
D. A runtime warning will occur if another line of code attempts to assign a value to the rate variable.