Skip to main content

Constant in JAVA

Directly, JAVA Does not Support CONSTANT.

'static final DataType VarName = VarValue;' is equal to 'CONSTANT VarName=VarValue;'

If you require constant variable, then use 'static final' variables in your stuff. 

Comments