java:static静态变量,静态方法

  static 修饰的是成员变量和方法,从属于类。 普通变量和方法从属于对象。

猜你喜欢

转载自blog.csdn.net/m0_37564426/article/details/86559061