l,k,iLocal classes Can access all the features of the enclosing class (because they are defined inside the method of the class) but can access only final variables defined inside the method (including method arguments). This is because the class can outlive the method, but the method local variables will go out of scope – in case of final variables, compiler makes a copy of those variables to be used by the class.
primitive varaible不是值传递吗??
中是visible的,否则不是visible的,嘻嘻
具体原因不知道,嘻嘻