两种方法改变静态成员的值是正确的,但是第一种方法会给你一个警告,第二不会。
No, a static variable can be manipulated by any method that has access to it.
youdao
应用推荐
模块上移
模块下移
不移动