就true false null这三个?其他48个关键字?

解决方案 »

  1.   

    你所谓的保留字是指什么?
    goto应该算一个
      

  2.   

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

  3.   

    关键字(keywords)
    保留字(reserved words)2楼辛苦了,那48个应该属于关键字我就想知道null,goto,true,false这几个怎么分类?好像考试就喜欢考这个
      

  4.   

    Here's a list of keywords in the Java language. These words are reserved — you cannot use any of these words as names in your programs. true, false, and null are not keywords but they are reserved words, so you cannot use them as names in your programs either.摘自http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html它上面列出了50个Keywords,并指出了3个reserved words
      

  5.   

    关键字(keywords)abstract continue for new switch 
    assert*** default goto* package synchronized 
    boolean do if private this 
    break double implements protected throw 
    byte else import public throws 
    case enum**** instanceof return transient  
    catch extends int short try 
    char final interface static void 
    class finally long strictfp** volatile 
    const* float native super while 保留字(reserved words)true, false, nullthx:shine333(enihs)