Possible duplicate:
Why is there no Constant keyword in Java?
I recently started developing in Java, and I was wondering why the const keyword was not implemented, and you had to use a rather long constant definition in the class:
protected static final String VALIDATION_ERROR = "validationError";
Instead of the expected path
const VALIDATION_ERROR = "validationError"
Is there anyone who can tell me why you should use (or not do it in the current syntax), instead of using later than the previous one later?
source share