List all words that are key or reserved in Java.
Explanation
The specification is written as: "The keywords const and goto are reserved, even though they are not currently used".
I.e. goto - is the key word, even if unused.
Therefore, in particular, goto can not be used as an identifier, i.e. to be the name of the package, class, variable, etc.
See the original source: http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.9

It would be very nice if the explanation had, well, explanation as to what these listed keywords do. But of course it's not required.

2023 Feb 16, 9:16:14 AM

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Java
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести