Basic knowledge of Java Review--java reserved words

Source: Internet
Author: User
Tags float double keyword list switch case try catch volatile

Ava keyword List (alphabetical order of 51 groups): Abstract, Assert,boolean, break, Byte, case, catch, char, class, const, continue, default, do, Doub Le, 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, T Ransient, try, void, volatile, Whilejava reserved word list (alphabetical order of 14 groups): Java reserved word refers to an existing Java version that is not yet in use but may be used as a keyword in future versions. Byvalue, cast, false, future, generic, inner, operator, outer, rest, True, Var, goto, Const,nulljava language has 51 reserved keywords, where const and G Oto is reserved but not used. You cannot use reserved keywords to name a class, method, or variable. One, reserved keyword data type: Boolean int long short byte float double Char class interface flow control: If else do and for switch case default Bre AK continue return Try Catch finally modifier: public protected private final void static STRICTFP abstract transientsynchronize d Volatile Native action: Package import throw throws extends implements this Super instanceof new reserved word: true false null goto con St

Java Review Basics--java reserved words

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.