title: Why "type List does not take parameters" in Netbeans?
body: <p>I tried this code but i'm getting error at <code>List&lt;String[]&gt;</code> (in netbeans)</p>
  
  <p>Error: "type List does not take parameters"</p>
  
  <pre><code>CSVReader csvReader = new CSVReader(new FileReader(new File("file.csv")));
  List&lt;String[]&gt; list = csvReader.readAll();
  String[][] dataArr = new String[list.size()][];
  dataArr = list.toArray(dataArr);
  </code></pre>
  
  <p>Please any one help solving this problem.</p>