Does a final local variable created on a heap rather than on the methods stack....? the reason why i am asking this is because a method local inner class object can only access final local variables of tht method !!
No. The reason they have to be final is beacause the variable is copied to the method local class, so it's a different variable. If you were to modify it in the method, the variable wouldn't change in the class.
You showed up just in time for the waffles! And this tiny ad: