title: java getConstructor(String[].class)
body: <p>I tried the following code:</p>
  
  <pre><code>constructor = oneClass.getConstructor(new Class[]{String[].class});
  
  return constructor.newInstance(new String[]{"String01","String02"})
  </code></pre>
  
  <p>(the return Statement return an IllegalArgumentException)</p>
  
  <p>And</p>
  
  <pre><code>Class stringArray = Class.forName("[Ljava.lang.String;");
  
  constructor = oneClass.getConstructor(new Class[]{stringArray})
  
  return constructor.newInstance(new String[]{"String01","String02"})
  </code></pre>
  
  <p>(the return Statement return an IllegalArgumentException)</p>
  
  <p>How to say that I want to instantiate a constructor with a String[] as argument.</p>
  
  <p>Thank You.</p>