Why is there no Constant keyword in Java?
        Posted  
        
            by harigm
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by harigm
        
        
        
        Published on 2010-04-29T08:19:37Z
        Indexed on 
            2010/04/30
            2:27 UTC
        
        
        Read the original article
        Hit count: 341
        
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.
© Stack Overflow or respective owner