Why should my local variables be final to be accessible from anonymous class?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1299837/cannot-refer-to-a-non-final-variable-inside-an-inner-class-defined-in-a-different">Cannot refer to a non-final variable inside an inner class defined in a different method</a>  </p>
</blockquote>



<p>What is the reason behind the rule of having local variables declared as final in order to access them from anonymous class? </p>
