Java keywords and reserved words

Source: Internet
Author: User
Tags keyword list java keywords

The difference between reserved words and keywords in JAVA is that reserved words are reserved "keywords" of J2SDK, that is, in version upgrades, the possibility of transforming reserved words to keywords is not ruled out, however, the current version is not used yet. Once used, an error is reported. The keyword is a character that is currently in use. Compatibility generally involves data types, that is, the defined new data type is larger than the current data type. Java keyword list (51 groups in alphabetical order): abstract, assert, boolean, break, byte, case, catch, char, class, const, continue, default, do, double, else, enum, extends, final, finally, float, for, if, implements, import, instanceof, int, interface, long, native, new, package, private, protected, public, return, short, static, strictfp, super, switch, synchronized, this, throw, throws, transient, try, void, volatile, wh Ile Java reserved word list (14 groups in alphabetical order): Java reserved words indicate that the existing Java version is not used, but later versions may be used as keywords. ByValue, cast, false, future, generic, inner, operator, outer, rest, true, var, goto, const, null

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.