Computer Science, asked by piy2379, 10 months ago

which keyword is used to make a variable constant​

Answers

Answered by bitusujata
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 sneha413639
6

Answer:

Final keyword is used to make a variable constant.

Similar questions