Inner Class Declared inside a Method

Q

Can an inner class declared inside of a method access local variables of this method?

✍: FYIcenter

A

It's possible if these variables are final.

2007-03-03, 4495👍, 0💬