title: Initializing List in constructor or field declaration
body: <p>I was wondering whether there is a difference in initializing objects like ArrayList&lt;> and stuff in field declaration or constructor. </p>
  
  <p>Is there a difference in memory usage, performance or anything like that or is it completely the same?</p>
  
  <p>Option 1:  </p>
  
  <pre><code>class MyClass {
       private List&lt;String&gt; strings = new ArrayList&lt;String&gt;();
  }
  </code></pre>
  
  <p>Option 2:</p>
  
  <pre><code>class MyClass {
      private List&lt;String&gt; strings;
      public MyClass() {
          strings = new ArrayList&lt;String&gt;();
      }
  }
  </code></pre>
  
  <p>It may be a stupid question, or a very basic one, but I like to build from the start, I like to understand all that I see.  </p>