Static storage. “Static” is used here in the sense of “in a fixed
location” (although it’s also in RAM). Static storage contains data that is available for the entire time a program is running. You can use the static keyword to specify that a particular element of an object is static, but Java objects themselves are never placed in static storage.
                                   -----<<Thinking In Java2>>

解决方案 »

  1.   

    提供一些
    在用这个类实例化的对象(们)
    之上一“层”的变量和方法
    来控制这些对象!比如统计实例化了多少对象等等。我是这么理解的,不知道对不对!还有就是一些类的特殊的/基本的属性,
    (比如Integer的MAX_VALUE属性等)
    和最最常用的方法
    (比如Math的pow方法等)这些就是用这方便了吧!
      

  2.   

    static在你的program整个的运行期间都存在,而非static在其对象被garbage collected后就不存在了
      

  3.   

    它在main()中不用实例,就能直接调用吗?
    是说只要运行main(),static定义的东东就已经调用了吗?
      

  4.   

    static在程序一开始就会初始化,另外限作用域内调用,超出其可视范围就不能引用,这点跟普通变量一致,只是它是一个静态变量,所以不会在程序执行完毕时在内存中删除,只到程序关闭时才会关闭这个变量占用的内存