title: Java : A List of type interface
body: <p>I am trying to use the following code:</p>
  
  <pre><code>List&lt;ItemInterface&gt; interfaceList = new List&lt;ItemInterface&gt;();
  </code></pre>
  
  <p>Eclipse gives an error: Cannot instantiate the type List</p>
  
  <p>What is wrong with this code?</p>