title: Initialize array in method argument
body: <p>In PHP you can do the following:</p>
  
  <pre><code>method(array("a", "b"));
  </code></pre>
  
  <p>Can you in Java initialize a String array as an argument in the method call, something like tihs:</p>
  
  <pre><code>method(new String[] = {"a", "b"});
  </code></pre>
  
  <p>Thanks!</p>