It does seem to have a reserved word const. But no usage implemented.
It's kind of odd... because I always heard that java never had const. But the keyword is classified as outdated.
Printable View
It does seem to have a reserved word const. But no usage implemented.
It's kind of odd... because I always heard that java never had const. But the keyword is classified as outdated.
As far as I know, Java never had the const keyword in use, but presumably the Java language designers wanted to reserve the word for future use, or simply to ensure that programs would not have identifiers named const and thus confuse an influx of C++ programmers.