title: Setting a final class attribute
body: <p>Is it possible to set a value for a final attribute from a Private method called from the Constructor of that Object?</p>
  
  <pre><code>public class FinalTest {
    private final Object a;
    //Constructor
    public FinalTest() {
      setA();
    }
  
    private void setA() {
      a = new Object;
    }
  }
  </code></pre>
  
  <p>For the above class, compiler gives me an error saying I can't set the value for 'a' from the method. </p>
  
  <p>I understand that its not possible to set value for a final variable from outside a constructor, but in the above case, I am actually doing it in a way within the constructor. So why isn't this allowed?</p>