title: Why does ArrayList use transient storage?
body: <p>I was reading the source of Java's ArrayList and I came across its backing array declaration:</p>
  
  <pre><code>private transient Object[] elementData;
  </code></pre>
  
  <p>Why does this need to be transient? Why can't this class be serialized?</p>
  
  <p>Thanks for the help!</p>