title: how to remove blank items from ArrayList.Without removing index wise
body: <pre><code>public class ArrayListTest {
  
      public static void main(String[] args) {
          ArrayList al=new ArrayList();
          al.add("");
          al.add("name");
          al.add("");
          al.add("");
          al.add(4, "asd");
          System.out.println(al);
      }
  }
  </code></pre>
  
  <p>o/p    [, name, , , asd]
  desire O/p  [name,asd]</p>