Difference between final and constant
Answers
Answered by
4
Answer:
A constant variable is the one whose value is fixed and only one copy of it exists in the program. ... Once you declare a variable static they will be loaded in to the memory at the compile time i.e. only one copy of them is available. once you declare a variable final you cannot modify its value again.
Explanation:
hope this helps u...❤
Similar questions