the keyword used when declaring identifiers as constants instead of variables?
HarshdeepKaur2:
yrr koi to Follow krdo
Answers
Answered by
1
Explanation:
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.
Answered by
2
Answer:
A global or static variable can be declared (or a symbol defined in assembly) with a keyword qualifier such as const , constant , or final , meaning that its value will be set at compile time and should not be changeable at runtime. ... These constants differ from literals in a number of ways.
Hope it helps:)
Similar questions
Science,
1 month ago
English,
1 month ago
Social Sciences,
3 months ago
Hindi,
9 months ago
Math,
9 months ago