title: Remove Null Value from String array in java
body: <p>How to remove null value from String array in java?</p>
  
  <pre><code>String[] firstArray = {"test1","","test2","test4",""};
  </code></pre>
  
  <p>I need the "firstArray" without null ( empty) values like this</p>
  
  <pre><code>String[] firstArray = {"test1","test2","test4"};
  </code></pre>