title: How to print BitSet as series of bits
body: <p>Is there a method or a way to print a bitset as series of bits such as <code>1001011</code></p>
  
  <p>For example, the following code:</p>
  
  <pre><code>    BitSet b = new BitSet(6);
  
      b.set(1);
      b.set(3);
      b.set(4);
  
      // I want to print b like 101100
      System.out.println(b);
  </code></pre>
  
  <p>Thanks</p>