The methods of a local class can use any final local variables or method parameters that are visible from the scope in which the local class is defined.