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.
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.
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
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.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)