June 2004
Intermediate to advanced
848 pages
21h 28m
English
Identifiers are the names provided by the programmer, and can be any length in Java. They must start with a letter, underscore, or dollar sign, and in subsequent positions can also contain digits.
A letter that can be used for a Java identifier doesn't just mean uppercase and lowercase A–Z. It means any of the tens of thousands of Unicode letters from any of the major languages in the world including Bengali letters, Cyrillic letters, or Bopomofo symbols. Every Unicode character above hex 00C0 is legal in an identifier. Legal Java identifiers shows some example valid Java identifiers.
Table 7-1. Legal Java identifiers
|
|
|
|
|
|
|
|
|
|
|
|
The more accented characters ...
Read now
Unlock full access