As with local classes, methods in an anonymous class don't really have access to local variables and method parameters.
Rather, when an object of the anonymous class is instantiated,
The methods in the object of the anonymous class
Thus, local variables and method parameters accessed by the methods of the local class
File: au.htm | [Next] | [Prev] |