Why const keyword has been reserved in Java?. What is the purpose of reserving it?.
Praveen Babu
Ranch Hand
Joined: Jul 30, 2006
Posts: 138
posted
0
From JLS,
The keywords const and goto are reserved, even though they are not currently used. This may allow a Java compiler to produce better error messages if these C++ keywords incorrectly appear in programs.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.