title: Java 9 - List class: of() overloaded methods with varargs
body: <p>In Java 9, under the List interface, there is a new method of() which according to Java documentation:</p>
  
  <blockquote>
    <p>The List.of() static factory methods provide a convenient way to
    create immutable lists.</p>
  </blockquote>
  
  <p>They have overloaded of() with up to 10 arguments together with one vararg argument.
  What can be the rationale behind overloading of() with 10 arguments when they have provided one vararg argument overloaded method as well?<a href="https://i.stack.imgur.com/KVM8G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KVM8G.png" alt="enter image description here"></a></p>