39. Java 语言 -- 词句问题 II
|
|
- Java 保留以下的关键词:
- abstract boolean break byte case catch
- char class const continue default do double
- else extends final finally float for
- goto if implements import instanceof int
- interface long native new
- package private protected public return
- short static super switch synchronized this
- throw throws transient try void volatile while
- 注意, Java中不使用goto语句, 但是仍然保留这个词!
null true 和 false 是具有特殊含义的词, 但不是关键词
Copyright: NPACT |
|