- 雙語版Java程序設(shè)計(jì)
- 何月順主編
- 155字
- 2018-12-27 20:14:11
2.8 Keywords
Keywords cannot be used for anything but their predefined purpose. There are 49 in all, These words each have a special meaning to the Java compiler. A keyword must be separated from other keywords or identifiers by white space, a comment or some other punctuation symbol.
The keywords const and goto have no meaning in Java but are included as keywords to facilitate error reporting. These are keywords in C++, a language that many Java programmers will have learned before learning Java.
關(guān)鍵字只能使用在預(yù)定義部分,關(guān)鍵字和保留字之間需要用一個(gè)空格分隔開。
In addition the symbols true and false may appear to be keywords because they cannot be used as identifiers, they are in fact boolean literals. Table 2.1 lists main keywords in Java:
Table 2.1 keywords in Java
- Hands-On Internet of Things with MQTT
- 中文版Photoshop CS5數(shù)碼照片處理完全自學(xué)一本通
- Blockchain Quick Start Guide
- CorelDRAW X4中文版平面設(shè)計(jì)50例
- AWS Administration Cookbook
- Supervised Machine Learning with Python
- 具比例時(shí)滯遞歸神經(jīng)網(wǎng)絡(luò)的穩(wěn)定性及其仿真與應(yīng)用
- 精通數(shù)據(jù)科學(xué):從線性回歸到深度學(xué)習(xí)
- 電子設(shè)備及系統(tǒng)人機(jī)工程設(shè)計(jì)(第2版)
- PostgreSQL High Performance Cookbook
- Hands-On Geospatial Analysis with R and QGIS
- 中小型網(wǎng)站建設(shè)與管理
- 中老年人學(xué)數(shù)碼照片后期處理
- Hands-On Data Analysis with NumPy and pandas
- 巧學(xué)活用WPS