title: Convert String[] to comma separated string in java
body: <p>i have one <code>String[]</code> </p>
  
  <pre><code>String[] name = {"amit", "rahul", "surya"};
  </code></pre>
  
  <p>i want to send name as parameter in sql query inside IN clause
  so how do i convert into a format</p>
  
  <pre><code>'amit','rahul','surya'
  </code></pre>