Why can outer Java classes access inner class private members?
http://stackoverflow.com/questions/1801718/why-can-outer-java-classes-access-inner-class-private-members
local variable must be
final
to be accessed from the inner (and anonymous) class.
http://stackoverflow.com/questions/3901597/access-to-variable-within-inner-class-in-java
No comments:
Post a Comment