title: What does a variable being "effectively final" mean?
body: <p>The <a href="http://docs.oracle.com/javase/tutorial/java/javaOO/anonymousclasses.html" rel="nofollow noreferrer">documentation</a> on Anonymous Classes states</p>
  
  <blockquote>
    <p>An anonymous class cannot access local variables in its enclosing scope
    that are not declared as final or effectively final.</p>
  </blockquote>
  
  <p>I don't understand what does a variable being "effective final" mean. Can someone provide an example to help me understand what that means?</p>