The static keyword can also be used to create a static initializer block that runs only once, when the object is first loaded into memory.

 
  • 关键字还可用来创建一个静态初始值设定项块,此块只在相应的对象被首次加载到内存中时运行一次。
今日热词
目录 附录 查词历史