title: command line arguments in array in Java
body: <p>I am a very beginner in Java, I have a question regarding to use command line arguments line in array, for example, I tried to type:</p>
  
  <pre><code>double []a=Double.parseDouble(args[0]);
  </code></pre>
  
  <p>however, it said" cannot convert double to double",I cannot figure out it, as I can do</p>
  
  <pre><code>double a=Double.parseDouble(args[0]);
  </code></pre>
  
  <p>so what is wrong with using CL arguments input in array then?Thanks</p>