No, a static variable can be manipulated by any method that has access to it.
不,一个静态变量可以用任何方法,可以访问它的操纵。
No, a static variable can be manipulated by any method that has access to it.
两种方法改变静态成员的值是正确的,但是第一种方法会给你一个警告,第二不会。
No, a static variable can be manipulated by any method that has access to it.
两种方法改变静态成员的值是正确的,但是第一种方法会给你一个警告,第二不会。
应用推荐