title: Why is it necessary to declare a field as final when to be used in an inner class?
body: <p>Why do we have to declare a field in a class or method to be final in java, </p>
  
  <p>if it is to be accessed/used from an anonymous inner class?</p>