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.
'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
Post a Comment