Can a method local inner class access the local final variables?Why?
Question
Can a method local inner class access the local final variables?Why?
Answer
Yes. Because the final variables are stored on heap and live as long as the method local inner class object may live.