1.

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 objects may live.

Yes. Because the final variables are stored on heap and live as long as the method local inner class objects may live.



Discussion

No Comment Found