static field: a single variable shared by a whole class of objects.
static method: doesn't implicitly pass object as parameter.
一般的方法,object调用时,会传参把object传给this
因而static method里面不能出现this
static field: a single variable shared by a whole class of objects.
static method: doesn't implicitly pass object as parameter.
一般的方法,object调用时,会传参把object传给this
因而static method里面不能出现this