How to pass values to BitSet Class and create list containing BitSet Values?
<ul>
<li><pre><code>BitSet bits1 = new BitSet(00101010); 
System.out.println(bits1); 
</code></pre></li>
</ul>

<p>Question : Why the output is returning { }.</p>

<ul>
<li><pre><code>List&lt;BitSet&gt; list = new ArrayList&lt;BitSet&gt;();
list.add(new BitSet(00010010));
list.add(new BitSet(10000001));
list.add(new BitSet(01000001));
System.out.println(test.orTogether(list));
</code></pre></li>
</ul>

<p>Not able to pass values to the method. As the list contains [{ }, { }, { }].</p>
