title: Passing string array values directly to setter method
body: <p>There's a String array that I have which has setter and getter methods. How do I directly pass values <code>{"one", "two"}</code> to the setter method rather than setting the values to a variable first and then passing the parameter?</p>
  
  <pre><code>String[] arr1 = {};
  public String[] getArr1() {
      return arr1;
  }
  
  public void setArr1(String[] arr1) {
      this.arr1 = arr1;
  }
  </code></pre>
  
  <p>..expecting something like <code>setArr1(?);</code>...</p>