Hi! I have a question about const & goto keywords. They are deprecated.. so if in the question they ask select the Java keywords from following & have this 2 in the option should it be selected or not? I thought not to... but Dan's exams have it as a valid answer choice.
Well CONST and GOTO are definitely keywords, and they are not deprecated. Deprecated would mean that they were used erlier but now their usage is not advised. They have been reserved for future use. Here is what JLS sys on these two
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.