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

Q

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

✍: Guest

A

It's possible if these variables are final.

2012-06-19, 2381👍, 0💬