首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Access >

Chapter 一: Declarations and Access Control -

2012-11-01 
Chapter 1: Declarations and Access Control ---Legal Identifiers■ Identifiers must start with a lett

Chapter 1: Declarations and Access Control ---

Legal Identifiers

■ Identifiers must start with a letter, a currency character ($), or a connecting

character such as the underscore ( _ ). Identifiers cannot start with a number!

■ After the first character, identifiers can contain a

ny combination of letters,

currency characters, connecting characters, or numbers.

■ In practice, there is no limit to the number of characters an identifier can

contain.

■ You can't use a Java keyword as an identifier. Table 1-1 lists all of the Java

keywords including one new one for 5.0, enum.

■ Identifiers in Java are case-sensitive; foo and FOO are two different identifiers.

?

Complete List of Java Keywords (assert added in 1.4, enum added in 1.5)

?

?

热点排行