<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 11,  comments - 14,  trackbacks - 0

    <<Java Language Specification>>列出了java關(guān)鍵字、保留關(guān)鍵字,
    并舉例說(shuō)明true,false和null都不是java的keywords,而是literals ,盡管他們看起來(lái)很像是keywords。

    3.9 Keywords

    The following character sequences, formed from ASCII letters, are reserved for use as keywords and cannot be used as identifiers (§3.8):

      						Keyword: one of
      	abstract    default    if            private      this
      	boolean     do         implements    protected    throw
      	break       double     import        public       throws
      	byte        else       instanceof    return       transient
      	case        extends    int           short        try
      	catch       final      interface     static       void
      	char        finally    long          strictfp     volatile
      	class       float      native        super        while
      	const       for        new           switch
      	continue    goto       package       synchronized
      

    The keywords const and goto are reserved, even though they are not currently used. This may allow a Java compiler to produce better error messages if these C++ keywords incorrectly appear in programs.

    While true and false might appear to be keywords, they are technically Boolean literals (§3.10.3). Similarly, while null might appear to be a keyword, it is technically the null literal (§3.10.7).

    3.10 Literals

    A literal is the source code representation of a value of a primitive type (§4.2), the String type (§4.3.3), or the null type (§4.1):

      						Literal:
      	IntegerLiteral
      	FloatingPointLiteral
      	BooleanLiteral
      	CharacterLiteral
      	StringLiteral
      	NullLiteral
      
      				


    ?

    posted on 2006-11-29 23:57 jinn 閱讀(2194) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): Java/j2se
    <2006年11月>
    2930311234
    567891011
    12131415161718
    19202122232425
    262728293012
    3456789

    常用鏈接

    留言簿(3)

    隨筆分類(lèi)

    文章分類(lèi)

    相冊(cè)

    網(wǎng)站鏈接

    搜索

    •  

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

    主站蜘蛛池模板: 无码的免费不卡毛片视频 | 国产免费一区二区视频| 亚洲第一页中文字幕| 在线免费观看伊人三级电影| 免费国产污网站在线观看15| 国内外成人免费视频| 色婷五月综激情亚洲综合| 色se01短视频永久免费| 亚洲色婷婷综合久久| 亚洲人片在线观看天堂无码| 永久在线观看免费视频| 国产AV无码专区亚洲精品| 免费国产成人午夜在线观看| 久久亚洲精品AB无码播放| 99热这里只有精品免费播放| 亚洲福利秒拍一区二区| 毛片免费视频观看| 国产精品酒店视频免费看| 狼人大香伊蕉国产WWW亚洲| 免费成人黄色大片| 一区二区3区免费视频| 亚洲国产精品福利片在线观看| 在线观看片免费人成视频无码 | 亚洲无砖砖区免费| 久久综合AV免费观看| 亚洲AV无码专区国产乱码不卡| 免费视频成人片在线观看| 亚洲永久中文字幕在线| 成人毛片18女人毛片免费| 国产成人综合亚洲绿色| 亚洲免费观看视频| 日韩内射激情视频在线播放免费| 亚洲国产成人va在线观看网址| 国产精品网站在线观看免费传媒 | 亚洲中文字幕乱码一区| 曰批全过程免费视频网址| 亚洲中文字幕无码mv| 亚洲香蕉成人AV网站在线观看| 成人黄色免费网站| 日韩免费码中文在线观看| 91亚洲自偷手机在线观看|