which keyword is used to make a variable constant
Answers
Answered by
4
Answer:
Constants are basically variables whose value can't change. In C/C++, the keyword const is used to declare these constant variables. In Java, you use the keyword final . However, the tool introduced here is not simply a primitive variable; it's an actual object instance.
Answered by
6
Answer:
Final keyword is used to make a variable constant.
Similar questions