title: Java Arrays as Parameters
body: <p>Can you pass a new array as a method, and still have data in that array?</p>
  
  <p>For example, I have this method: <code>foo(String[])</code>, and i want to call it like this<code>foo(new String[] s = {"String1", "String2"})</code>. But that's not valid Java.</p>