Why does Arrays.asList return a fixed-size List? : <p><code>Arrays.asList</code> is a useful and convenient method, but it returns a <code>List</code> whose size is fixed, such that no elements can be added or removed with <code>add</code> or <code>remove</code> (<code>UnsupportedOperationException</code> is thrown).  </p>

<p>Is there a good reason for that? It looks like an odd restriction to me.  </p>

<p>The <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html#asList(T...)" rel="noreferrer">documentation</a> does not explain the reason behind it:  </p>

<blockquote>
  <p>Returns a fixed-size list backed by the specified array.</p>
</blockquote>
