Java does not have <code>const</code> – it instead has <code>final</code>, which can be applied to local "variable" declarations and applies to the ''identifier'', not the type. It has a different object-oriented use for object members, which is the origin of the name.
The Java language specification regards <code>const</code> as a reserved keyword – i.e., one that cannot be used as variable identifier – but assigns no semantics to it: it is a ''reserved word'' (it cannot be used in identifiers) but not a ''keyword'' (it has no special meaning). ItThe iskeyword thoughtwas thatincluded theas reservationa ofmeans thefor keywordJava occurredcompilers to allowdetect forand anwarn extension ofabout the Javaincorrect languageusage to includeof C++-style keywords.<coderef>const<{{Cite web |url=https:/code>/docs.oracle.com/javase/specs/jls/se6/html/lexical.html#3.9 methods|title=Java andLanguage pointerSpecification toThird <code>const</code>Edition type.{{Citation|last=Gosling needed|datefirst=FebruaryJames 2011|last2=Joy |first2=Bill |last3=Steele |first3=Guy}}</ref> An enhancement request ticket for implementing <code>const</code> correctness exists in the [[Java Community Process]], but was closed in 2005 on the basis that it was impossible to implement in a backwards-compatible fashion.<ref>{{cite web|url=http://bugs.java.com/view_bug.do?bug_id=4211070 |title=Bug ID: JDK-4211070 Java should support const parameters (like C++) for code {{sic|nolink=y|mai|ntainence}}|publisher=Bugs.sun.com |date= |accessdate=2014-11-04}}<!-- was previously at: