Why is there no Constant keyword in Java?
- by harigm
I am curious learner of Java, and I was thinking about the topic of "CONSTANTS".
I have learnt that Java allows us to declare constants by using final keyword.
My question is why didn't Java introduce Constant (const) keyword. Since many people say it has come from C++, in C++ we have const keyword.
Please share your thoughts.