Static用处

定义Static后的类或方法,在程序编译以后直接进驻内存。

用的时候不需要从新声明。

原文地址:https://www.cnblogs.com/kaixinxingfu/p/2749059.html