title: Is it better to make a separate constructor and init method, or to create a constructors with parameters?
body: <p>As the question states, is it better to create a constructor and initializer like this (pseudocode):    </p>
  
  <pre><code>public Component()  
  {
      this.arrayList = new ArrayList&lt;String&gt;();
  }
  
  public void initialize()  
  {  
      this.value = parse(this.xml);
      arrayList.add(value);
  }
  </code></pre>
  
  <p>In my case the initialization would have to read from an xml document and parse the values. The class would alse have a lot of other members that would be initialized using separate,more complex,methods. What is the best practice in this case?</p>