The static modififier can be applied to variables,methods,and even a strange kind of code that is not part of a method.(Java 2认证考试学习指南第3章)--B是错的i think E is error

解决方案 »

  1.   

    jiyunang(DANNY_JI)对于Java 2认证考试学习指南第3章有错误的理解。
      

  2.   

    To:xhdev()
    This is printed on the book.(English)P66
    And I Have Not Change Any Word About It!
    So...What Is the miss?
      

  3.   

    5.which can Not be used in declaring or declaring and initializing an automatic(method local)
    variable?
    a. final
    //可以的。
    b. static
    //方法内不可以声名STATIC变量
    c. expressions
    //INT A=8+9;    OK
    d. constants of non-primitive type
    //INT A;或者 Object a;
    e. initialized array(such as"{"Hello","Goodbye"}")
    //Object a[][]=new Object a[][]{"Hello","Goodbye"}                    ok
      

  4.   

    The static modififier can be applied to variables,methods,and even a strange kind of code that is not part of a method.(Java 2认证考试学习指南第3章)
    这句话不正是说不能在方法内使用static吗?
      

  5.   

    自动变量就是方法中声明的变量啊.也就是LOCAL VARIABLES