Java Keywords and Reserved Words : identifier « Java Source And Data Type « SCJP

Home
SCJP
1.Java Source And Data Type
2.Operators
3.Modifiers
4.Type Casting
5.Statements
6.Object Oriented
7.Thread
8.Utility Classes
9.File
SCJP » Java Source And Data Type » identifier 
1.6.4.Java Keywords and Reserved Words
abstract         assert        boolean         break         byte           case

catch            char          class           const         continue       default

do               double        else            enum          extends        false

final            finally       float           for           goto           if

implements       import        instanceof      int           interface      long

native           new           null            package       private        protected

public           return        short           static        strictfp       super

switch           synchronized  this            throw         throws         transient

true             try           void            volatile      while
1.6.identifier
1.6.1.Java Identifiers
1.6.2.Java names always considers case.
1.6.3.legal identifiers:
1.6.4.Java Keywords and Reserved Words
1.6.5.An identifier is a word used by a programmer to name a variable, method, class, or label.
1.6.6.Keywords and reserved words may not be used as identifiers.
1.6.7.An identifier must begin with a letter, a dollar sign ($), or an underscore (_)
1.6.8.Identifier's Subsequent characters may be letters, dollar signs, underscores, or digits.
1.6.9.The only nonalphabetic characters allowed to start a name are $ and _(underscore).
1.6.10.Embedded keywords are ok
1.6.11.Illegal identifier: starts with a digit
1.6.12.Illegal Identifier: bad 1st char
1.6.13.The following are invalid Java identifiers:
1.6.14.A simple identifier followed by an expression
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.